uppercutbuild 1.3.0.0 → 1.4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/docs/README +20 -2
  2. data/docs/Samples/CC.NET/server/ccnet.config +8 -2
  3. data/lib/build.bat +1 -3
  4. data/lib/build/Castle.Core.dll +0 -0
  5. data/lib/build/Castle.DynamicProxy2.dll +0 -0
  6. data/lib/build/Castle.MicroKernel.dll +0 -0
  7. data/lib/build/Castle.Windsor.dll +0 -0
  8. data/lib/build/UppercuT.xml +1 -2
  9. data/lib/build/analyze.step +9 -44
  10. data/lib/build/analyzers/gallio.test.step +13 -49
  11. data/lib/build/analyzers/mbunit2.test.step +12 -48
  12. data/lib/build/analyzers/metrics.step +106 -0
  13. data/lib/build/analyzers/moma.step +13 -49
  14. data/lib/build/analyzers/ncover.step +14 -50
  15. data/lib/build/analyzers/ndepend.step +12 -47
  16. data/lib/build/analyzers/nitriq.step +13 -49
  17. data/lib/build/analyzers/nunit.test.step +18 -54
  18. data/lib/build/analyzers/storevil.test.step +17 -53
  19. data/lib/build/analyzers/test.step +16 -44
  20. data/lib/build/analyzers/xunit.test.step +13 -49
  21. data/lib/build/compile.step +94 -63
  22. data/lib/build/customize.build +8 -5
  23. data/lib/build/customizers/item.template +2 -1
  24. data/lib/build/default.build +27 -64
  25. data/lib/build/deploymentBuilder.step +60 -60
  26. data/lib/build/environmentBuilder.step +43 -61
  27. data/lib/build/gemsBuild.step +8 -44
  28. data/lib/build/gemsPrepare.step +17 -54
  29. data/lib/build/generateBuildInfo.step +9 -45
  30. data/lib/build/ilmerge.build +14 -60
  31. data/lib/build/nugetBuild.step +12 -45
  32. data/lib/build/nugetPrepare.step +28 -55
  33. data/lib/build/obfuscate.step +12 -45
  34. data/lib/build/open.build +28 -58
  35. data/lib/build/package.step +41 -63
  36. data/lib/build/policyChecks.step +8 -44
  37. data/lib/build/uc.exe +0 -0
  38. data/lib/build/uc.exe.config +3 -0
  39. data/lib/build/updateAssemblies.build +11 -57
  40. data/lib/build/uppercut.dll +0 -0
  41. data/lib/build/uppercut.tasks.dll +0 -0
  42. data/lib/build/versionBuilder.step +12 -44
  43. data/lib/build/versioners/git.step +8 -45
  44. data/lib/build/versioners/hg.step +8 -45
  45. data/lib/build/versioners/svn.step +8 -45
  46. data/lib/build/versioners/tfs.step +7 -43
  47. data/lib/build/zip.build +17 -63
  48. data/lib/lib/NAnt/NAnt.CompressionTasks.dll +0 -0
  49. data/lib/lib/NAnt/NAnt.Contrib.Tasks.dll +0 -0
  50. data/lib/lib/NAnt/NAnt.Core.dll +0 -0
  51. data/lib/lib/NAnt/NAnt.DotNetTasks.dll +0 -0
  52. data/lib/lib/NAnt/NAnt.MSNetTasks.dll +0 -0
  53. data/lib/lib/NAnt/NAnt.NUnit.dll +0 -0
  54. data/lib/lib/NAnt/NAnt.NUnit1Tasks.dll +0 -0
  55. data/lib/lib/NAnt/NAnt.NUnit2Tasks.dll +0 -0
  56. data/lib/lib/NAnt/NAnt.SourceControlTasks.dll +0 -0
  57. data/lib/lib/NAnt/NAnt.VSNetTasks.dll +0 -0
  58. data/lib/lib/NAnt/NAnt.VisualCppTasks.dll +0 -0
  59. data/lib/lib/NAnt/NAnt.Win32Tasks.dll +0 -0
  60. data/lib/lib/NAnt/NAnt.exe +0 -0
  61. data/lib/lib/NAnt/NAnt.exe.config +333 -136
  62. data/lib/lib/NAnt/NDoc.Documenter.NAnt.dll +0 -0
  63. data/lib/lib/NAnt/SLiNgshoT.Core.dll +0 -0
  64. data/lib/lib/NAnt/SLiNgshoT.exe +0 -0
  65. data/lib/lib/NAnt/extensions/common/2.0/NAnt.MSBuild.dll +0 -0
  66. data/lib/lib/NuGet/NuGet.exe +0 -0
  67. data/lib/open.bat +1 -1
  68. data/lib/settings/LOCAL.settings +3 -1
  69. data/lib/settings/UppercuT.config +10 -7
  70. data/lib/test.bat +2 -2
  71. data/lib/zip.bat +2 -2
  72. metadata +42 -89
  73. data/lib/lib/NAnt/MSITaskErrors.mst +0 -0
  74. data/lib/lib/NAnt/MSITaskTemplate.msi +0 -0
  75. data/lib/lib/NAnt/MSMTaskErrors.mst +0 -0
  76. data/lib/lib/NAnt/MSMTaskTemplate.msm +0 -0
  77. data/lib/lib/NAnt/NDepend.Build.NAntTasks.dll +0 -0
  78. data/lib/lib/NAnt/extensions/common/2.0/NAnt.MSBuild.xml +0 -36
  79. data/lib/lib/NAnt/lib/mono/1.0/NDoc.Core.dll +0 -0
  80. data/lib/lib/NAnt/lib/mono/1.0/NDoc.Documenter.Msdn.dll +0 -0
  81. data/lib/lib/NAnt/lib/mono/1.0/NDoc.ExtendedUI.dll +0 -0
  82. data/lib/lib/NAnt/lib/mono/1.0/nunit.core.dll +0 -0
  83. data/lib/lib/NAnt/lib/mono/1.0/nunit.framework.dll +0 -0
  84. data/lib/lib/NAnt/lib/mono/1.0/nunit.util.dll +0 -0
  85. data/lib/lib/NAnt/lib/mono/2.0/NDoc.Core.dll +0 -0
  86. data/lib/lib/NAnt/lib/mono/2.0/NDoc.Documenter.Msdn.dll +0 -0
  87. data/lib/lib/NAnt/lib/mono/2.0/NDoc.ExtendedUI.dll +0 -0
  88. data/lib/lib/NAnt/lib/mono/2.0/nunit.core.dll +0 -0
  89. data/lib/lib/NAnt/lib/mono/2.0/nunit.framework.dll +0 -0
  90. data/lib/lib/NAnt/lib/mono/2.0/nunit.util.dll +0 -0
  91. data/lib/lib/NAnt/lib/net/1.1/NDoc.Core.dll +0 -0
  92. data/lib/lib/NAnt/lib/net/1.1/NDoc.Documenter.Msdn.dll +0 -0
  93. data/lib/lib/NAnt/lib/net/1.1/NDoc.ExtendedUI.dll +0 -0
  94. data/lib/lib/NAnt/lib/net/1.1/nunit.core.dll +0 -0
  95. data/lib/lib/NAnt/lib/net/1.1/nunit.framework.dll +0 -0
  96. data/lib/lib/NAnt/lib/net/1.1/nunit.util.dll +0 -0
  97. data/lib/lib/NAnt/lib/net/2.0/NDoc.Core.dll +0 -0
  98. data/lib/lib/NAnt/lib/net/2.0/NDoc.Documenter.Msdn.dll +0 -0
  99. data/lib/lib/NAnt/lib/net/2.0/NDoc.ExtendedUI.dll +0 -0
  100. data/lib/lib/NAnt/lib/net/2.0/nunit.core.dll +0 -0
  101. data/lib/lib/NAnt/lib/net/2.0/nunit.framework.dll +0 -0
  102. data/lib/lib/NAnt/lib/net/2.0/nunit.util.dll +0 -0
@@ -13,54 +13,29 @@
13
13
  <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}versioners" />
14
14
  <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
15
15
  <property name="version.revision" value="0" overwrite="false" />
16
- <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
17
- <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" />
18
- <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" />
19
16
  <property name="is.replaced" value="false" />
20
17
  <property name="fail.build.on.error" value="false" />
21
18
 
22
19
  <target name="go" depends="run_tasks" />
23
20
 
24
21
  <target name="run_tasks">
25
- <echo message="Running ${project::get-name()} tasks." />
22
+ <echo level="Warning" message="" />
23
+ <echo level="Warning" message="====================" />
24
+ <echo level="Warning" message="${project::get-name()}" />
25
+ <echo level="Warning" message="====================" />
26
26
  <call target="prepare" if="${target::exists('prepare')}" />
27
- <call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
28
- <call target="custom_tasks_replace" if="${target::exists('custom_tasks_replace')}" />
27
+ <customExtension extends="${project::get-buildfile-path()}" type="pre" failonerror="${fail.build.on.error}" />
28
+ <customExtension extends="${project::get-buildfile-path()}" type="replace" failonerror="${fail.build.on.error}" />
29
29
  <call target="run_normal_tasks" if="${not is.replaced}" />
30
- <call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
30
+ <customExtension extends="${project::get-buildfile-path()}" type="post" failonerror="${fail.build.on.error}" />
31
31
  </target>
32
32
 
33
33
  <target name="run_normal_tasks"
34
34
  depends="get_revision, get_externally_provided_revision, set_version_environment_variable"
35
35
  description="Generating Assembly File." />
36
36
 
37
- <target name="custom_tasks_before">
38
- <echo message="Running custom tasks if ${file.custom.step.before} exists." />
39
- <nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" />
40
- <exec program="powershell.exe" if="${file::exists(file.custom.step.before + '.ps1')}" failonerror="${fail.build.on.error}">
41
- <arg value="${path::get-full-path(file.custom.step.before + '.ps1')}" />
42
- </exec>
43
- <exec program="ruby.exe" if="${file::exists(file.custom.step.before + '.rb')}" failonerror="${fail.build.on.error}">
44
- <arg value="${path::get-full-path(file.custom.step.before + '.rb')}" />
45
- </exec>
46
- </target>
47
-
48
- <target name="custom_tasks_replace">
49
- <echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
50
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace)}" />
51
- <nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" failonerror="${fail.build.on.error}" />
52
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.ps1')}" />
53
- <exec program="powershell.exe" if="${file::exists(file.custom.step.replace + '.ps1')}" failonerror="${fail.build.on.error}" >
54
- <arg value="${path::get-full-path(file.custom.step.replace + '.ps1')}" />
55
- </exec>
56
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.rb')}" />
57
- <exec program="ruby.exe" if="${file::exists(file.custom.step.replace + '.rb')}" failonerror="${fail.build.on.error}" >
58
- <arg value="${path::get-full-path(file.custom.step.replace + '.rb')}" />
59
- </exec>
60
- </target>
61
-
62
37
  <target name="get_revision">
63
- <echo message="Getting revision number from working directory '${dirs.current}${path.separator}${path.to.toplevel}${path.separator}' or remotely at ${repository.path}."/>
38
+ <echo level="Warning" message="Getting revision number from working directory '${dirs.current}${path.separator}${path.to.toplevel}${path.separator}' or remotely at ${repository.path}."/>
64
39
  <!-- try to update the revision -->
65
40
  <exec
66
41
  program="svn"
@@ -99,16 +74,4 @@
99
74
  <setenv name="uc.app.revision.hash" value="${version.revision}"/>
100
75
  </target>
101
76
 
102
-
103
- <target name="custom_tasks_after">
104
- <echo message="Running custom tasks if ${file.custom.step.after} exists." />
105
- <nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="${fail.build.on.error}" />
106
- <exec program="powershell.exe" if="${file::exists(file.custom.step.after + '.ps1')}" failonerror="${fail.build.on.error}" >
107
- <arg value="${path::get-full-path(file.custom.step.after + '.ps1')}" />
108
- </exec>
109
- <exec program="ruby.exe" if="${file::exists(file.custom.step.after + '.rb')}" failonerror="${fail.build.on.error}" >
110
- <arg value="${path::get-full-path(file.custom.step.after + '.rb')}" />
111
- </exec>
112
- </target>
113
-
114
77
  </project>
@@ -14,52 +14,27 @@
14
14
  <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
15
15
  <property name="version.revision" value="0" overwrite="false" />
16
16
  <property name="tfs.history.output" value="" overwrite="false" />
17
- <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
18
- <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" />
19
- <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" />
20
17
  <property name="is.replaced" value="false" />
21
18
  <property name="fail.build.on.error" value="false" />
22
19
 
23
20
  <target name="go" depends="run_tasks" />
24
21
 
25
22
  <target name="run_tasks">
26
- <echo message="Running ${project::get-name()} tasks." />
23
+ <echo level="Warning" message="" />
24
+ <echo level="Warning" message="====================" />
25
+ <echo level="Warning" message="${project::get-name()}" />
26
+ <echo level="Warning" message="====================" />
27
27
  <call target="prepare" if="${target::exists('prepare')}" />
28
- <call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
29
- <call target="custom_tasks_replace" if="${target::exists('custom_tasks_replace')}" />
28
+ <customExtension extends="${project::get-buildfile-path()}" type="pre" failonerror="${fail.build.on.error}" />
29
+ <customExtension extends="${project::get-buildfile-path()}" type="replace" failonerror="${fail.build.on.error}" />
30
30
  <call target="run_normal_tasks" if="${not is.replaced}" />
31
- <call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
31
+ <customExtension extends="${project::get-buildfile-path()}" type="post" failonerror="${fail.build.on.error}" />
32
32
  </target>
33
33
 
34
34
  <target name="run_normal_tasks"
35
35
  depends="get_revision, get_externally_provided_revision, set_version_environment_variable"
36
36
  description="Generating Assembly File." />
37
37
 
38
- <target name="custom_tasks_before">
39
- <echo message="Running custom tasks if ${file.custom.step.before} exists." />
40
- <nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" />
41
- <exec program="powershell.exe" if="${file::exists(file.custom.step.before + '.ps1')}" failonerror="${fail.build.on.error}">
42
- <arg value="${path::get-full-path(file.custom.step.before + '.ps1')}" />
43
- </exec>
44
- <exec program="ruby.exe" if="${file::exists(file.custom.step.before + '.rb')}" failonerror="${fail.build.on.error}">
45
- <arg value="${path::get-full-path(file.custom.step.before + '.rb')}" />
46
- </exec>
47
- </target>
48
-
49
- <target name="custom_tasks_replace">
50
- <echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
51
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace)}" />
52
- <nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" failonerror="${fail.build.on.error}" />
53
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.ps1')}" />
54
- <exec program="powershell.exe" if="${file::exists(file.custom.step.replace + '.ps1')}" failonerror="${fail.build.on.error}" >
55
- <arg value="${path::get-full-path(file.custom.step.replace + '.ps1')}" />
56
- </exec>
57
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.rb')}" />
58
- <exec program="ruby.exe" if="${file::exists(file.custom.step.replace + '.rb')}" failonerror="${fail.build.on.error}" >
59
- <arg value="${path::get-full-path(file.custom.step.replace + '.rb')}" />
60
- </exec>
61
- </target>
62
-
63
38
  <target name="get_revision">
64
39
  <exec
65
40
  program="tf"
@@ -92,15 +67,4 @@
92
67
  <setenv name="uc.app.revision.hash" value="${version.revision}"/>
93
68
  </target>
94
69
 
95
- <target name="custom_tasks_after">
96
- <echo message="Running custom tasks if ${file.custom.step.after} exists." />
97
- <nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="${fail.build.on.error}" />
98
- <exec program="powershell.exe" if="${file::exists(file.custom.step.after + '.ps1')}" failonerror="${fail.build.on.error}" >
99
- <arg value="${path::get-full-path(file.custom.step.after + '.ps1')}" />
100
- </exec>
101
- <exec program="ruby.exe" if="${file::exists(file.custom.step.after + '.rb')}" failonerror="${fail.build.on.error}" >
102
- <arg value="${path::get-full-path(file.custom.step.after + '.rb')}" />
103
- </exec>
104
- </target>
105
-
106
70
  </project>
data/lib/build/zip.build CHANGED
@@ -26,55 +26,31 @@
26
26
  <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${file.uppercut.assembly}" />
27
27
  <property name="zip.file" value="${dirs.drop}${path.separator}${project.name}.zip" />
28
28
  <property name="zip.file.rename" value="${dirs.drop}${path.separator}${project.name}.v${version}.zip" />
29
- <property name="allow.powershell.unrestricted" value="false" overwrite="false" />
30
- <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.build" />
31
- <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.build" />
32
- <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.build" />
33
29
  <property name="is.replaced" value="false" />
34
30
  <property name="fail.build.on.error" value="true" />
31
+ <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" />
32
+ <property name="app.powershell" value="%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe" overwrite="false" />
35
33
 
36
- <target name="go" depends="load_uppercut_assemblies, allow_powershell_unrestricted, run_tasks" />
34
+ <target name="go" depends="load_uppercut_assemblies, run_tasks" />
37
35
 
38
36
  <target name="run_tasks">
39
- <echo message="Running ${project::get-name()} tasks." />
37
+ <echo level="Warning" message="" />
38
+ <echo level="Warning" message="====================" />
39
+ <echo level="Warning" message="${project::get-name()}" />
40
+ <echo level="Warning" message="====================" />
40
41
  <call target="prepare" if="${target::exists('prepare')}" />
41
- <call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
42
- <call target="custom_tasks_replace" if="${target::exists('custom_tasks_replace')}" />
42
+ <customExtension extends="${project::get-buildfile-path()}" type="pre" failonerror="${fail.build.on.error}" />
43
+ <customExtension extends="${project::get-buildfile-path()}" type="replace" failonerror="${fail.build.on.error}" />
43
44
  <call target="run_normal_tasks" if="${not is.replaced}" />
44
- <call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
45
+ <customExtension extends="${project::get-buildfile-path()}" type="post" failonerror="${fail.build.on.error}" />
45
46
  </target>
46
47
 
47
48
  <target name="run_normal_tasks"
48
49
  depends="error_check, zip, get_version, rename_zip_folder"
49
50
  description="Zipping assemblies." />
50
51
 
51
- <target name="custom_tasks_before">
52
- <echo message="Running custom tasks if ${file.custom.step.before} exists." />
53
- <nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" />
54
- <exec program="powershell.exe" if="${file::exists(file.custom.step.before + '.ps1')}" failonerror="${fail.build.on.error}">
55
- <arg value="${path::get-full-path(file.custom.step.before + '.ps1')}" />
56
- </exec>
57
- <exec program="ruby.exe" if="${file::exists(file.custom.step.before + '.rb')}" failonerror="${fail.build.on.error}">
58
- <arg value="${path::get-full-path(file.custom.step.before + '.rb')}" />
59
- </exec>
60
- </target>
61
-
62
- <target name="custom_tasks_replace">
63
- <echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
64
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace)}" />
65
- <nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" failonerror="${fail.build.on.error}" />
66
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.ps1')}" />
67
- <exec program="powershell.exe" if="${file::exists(file.custom.step.replace + '.ps1')}" failonerror="${fail.build.on.error}" >
68
- <arg value="${path::get-full-path(file.custom.step.replace + '.ps1')}" />
69
- </exec>
70
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.rb')}" />
71
- <exec program="ruby.exe" if="${file::exists(file.custom.step.replace + '.rb')}" failonerror="${fail.build.on.error}" >
72
- <arg value="${path::get-full-path(file.custom.step.replace + '.rb')}" />
73
- </exec>
74
- </target>
75
-
76
52
  <target name="prepare">
77
- <echo message="Deleting ${zip.file}."/>
53
+ <echo level="Warning" message="Deleting ${zip.file}."/>
78
54
  <delete>
79
55
  <fileset basedir="${dirs.drop}" >
80
56
  <include name="${project.name}*.zip" />
@@ -88,7 +64,7 @@
88
64
  </target>
89
65
 
90
66
  <target name="zip">
91
- <echo message="Attempting to zip up binaries to ${zip.file}." />
67
+ <echo level="Warning" message="Attempting to zip up binaries to ${zip.file}." />
92
68
  <zip zipfile="${zip.file}">
93
69
  <fileset basedir="${dirs.drop}">
94
70
  <exclude name="gems/**" />
@@ -119,50 +95,28 @@
119
95
  <property name="version.revision" value="${environment::get-variable('BUILD_VCS_NUMBER')}" if="${version.revision == '0' and environment::variable-exists('BUILD_VCS_NUMBER')}" />
120
96
  <property name="version.hash" value="${environment::get-variable('uc.app.revision.hash')}" if="${environment::variable-exists('uc.app.revision.hash')}" />
121
97
  <property name="version.hash" value="${version.revision}" if="${version.hash == '0'}" />
122
- <echo message="Using revision number: ${version.revision} and hash: ${version.hash}." />
98
+ <echo level="Warning" message="Using revision number: ${version.revision} and hash: ${version.hash}." />
123
99
  </target>
124
100
 
125
101
  <target name="shorten_hash">
126
- <echo message="Shortening the length of the version hash '${version.hash}' to 8 digits." />
102
+ <echo level="Warning" message="Shortening the length of the version hash '${version.hash}' to 8 digits." />
127
103
  <property name="version.hash" value="${string::substring(version.hash,0,8)}" if="${string::get-length(version.hash) > 8}" />
128
- <echo message="The hash is now: ${version.hash}." />
104
+ <echo level="Warning" message="The hash is now: ${version.hash}." />
129
105
  </target>
130
106
 
131
107
  <target name="get_build_number">
132
108
  <property name="version.build" value="${environment::get-variable('CCNetNumericLabel')}" if="${environment::variable-exists('CCNetNumericLabel')}" />
133
109
  <property name="version.build" value="${environment::get-variable('BUILD_NUMBER')}" if="${environment::variable-exists('BUILD_NUMBER')}" />
134
- <echo message="Using build number ${version.build}." />
110
+ <echo level="Warning" message="Using build number ${version.build}." />
135
111
  </target>
136
112
 
137
113
  <target name="rename_zip_folder">
138
- <echo message="Renaming zip file ${zip.file} to ${zip.file.rename}." />
114
+ <echo level="Warning" message="Renaming zip file ${zip.file} to ${zip.file.rename}." />
139
115
  <move file="${zip.file}" tofile="${zip.file.rename}" />
140
116
  </target>
141
117
 
142
- <target name="custom_tasks_after">
143
- <echo message="Running custom tasks if ${file.custom.step.after} exists." />
144
- <nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="${fail.build.on.error}" />
145
- <exec program="powershell.exe" if="${file::exists(file.custom.step.after + '.ps1')}" failonerror="${fail.build.on.error}" >
146
- <arg value="${path::get-full-path(file.custom.step.after + '.ps1')}" />
147
- </exec>
148
- <exec program="ruby.exe" if="${file::exists(file.custom.step.after + '.rb')}" failonerror="${fail.build.on.error}" >
149
- <arg value="${path::get-full-path(file.custom.step.after + '.rb')}" />
150
- </exec>
151
- </target>
152
-
153
118
  <target name="load_uppercut_assemblies">
154
119
  <loadtasks assembly="${path.uppercut.assembly}" if="${file::exists(path.uppercut.assembly)}" />
155
120
  </target>
156
121
 
157
- <target name="allow_powershell_unrestricted">
158
- <!-- powershell 1.0 -->
159
- <exec program="powershell.exe" if="${allow.powershell.unrestricted}" failonerror="false">
160
- <arg value="set-executionpolicy unrestricted" />
161
- </exec>
162
- <!-- powershell 2.0 -->
163
- <exec program="powershell.exe" if="${allow.powershell.unrestricted}" failonerror="false">
164
- <arg value="set-executionpolicy unrestricted -force -scope CurrentUser" />
165
- </exec>
166
- </target>
167
-
168
122
  </project>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -6,7 +6,7 @@
6
6
  <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
7
7
  </configSections>
8
8
  <appSettings>
9
-
10
9
  <!-- Used to indicate the location of the cache folder for shadow files -->
10
+ <!-- Used to indicate the location of the cache folder for shadow files -->
11
11
  <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
12
12
  <!-- Used to indicate that NAnt should shadow copy files in a cache folder near the executable -->
13
13
  <add key="nant.shadowfiles" value="False" />
@@ -372,7 +372,7 @@
372
372
  family="net"
373
373
  version="3.5"
374
374
  description="Microsoft .NET Framework 3.5"
375
- sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
375
+ sdkdirectory="${sdkInstallRoot}"
376
376
  frameworkdirectory="${path::combine(installRoot, 'v3.5')}"
377
377
  frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
378
378
  clrversion="2.0.50727"
@@ -473,7 +473,7 @@
473
473
  <include name="extensions/common/2.0/**/*.dll" />
474
474
  </task-assemblies>
475
475
  <tool-paths>
476
- <directory name="${path::combine(sdkInstallRoot, 'bin')}"
476
+ <directory name="${sdkInstallRoot}"
477
477
  if="${property::exists('sdkInstallRoot')}" />
478
478
  <directory name="${path::combine(installRoot, 'v3.5')}" />
479
479
  <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
@@ -483,6 +483,8 @@
483
483
  property="installRoot"
484
484
  key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
485
485
  hive="LocalMachine" />
486
+ <locatesdk property="sdkInstallRoot" minwinsdkver="v6.0A" maxnetfxver="3.5" failonerror="false" />
487
+ <!--
486
488
  <readregistry
487
489
  property="sdkInstallRoot"
488
490
  key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
@@ -490,9 +492,20 @@
490
492
  failonerror="false" />
491
493
  <readregistry
492
494
  property="sdkInstallRoot"
493
- key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\WinSDKNetFxTools\InstallationFolder"
495
+ key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\InstallationFolder"
496
+ hive="LocalMachine"
497
+ failonerror="false" />
498
+ <readregistry
499
+ property="sdkInstallRoot"
500
+ key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0\InstallationFolder"
494
501
  hive="LocalMachine"
495
502
  failonerror="false" />
503
+ <readregistry
504
+ property="sdkInstallRoot"
505
+ key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\InstallationFolder"
506
+ hive="LocalMachine"
507
+ failonerror="false" />
508
+ -->
496
509
  </project>
497
510
  <tasks>
498
511
  <task name="csc">
@@ -537,139 +550,320 @@
537
550
  </tasks>
538
551
  </framework>
539
552
  <framework
540
- name="net-4.0"
541
- family="net"
542
- version="4.0"
543
- description="Microsoft .NET Framework 4.0"
544
- sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
545
- frameworkdirectory="${path::combine(installRoot, 'v4.0.30319')}"
546
- frameworkassemblydirectory="${path::combine(installRoot, 'v4.0.30319')}"
547
- clrversion="4.0.30319"
553
+ name="net-4.0"
554
+ family="net"
555
+ version="4.0"
556
+ description="Microsoft .NET Framework 4.0"
557
+ sdkdirectory="${sdkInstallRoot}"
558
+ frameworkdirectory="${path::combine(installRoot, 'v4.0.30319')}"
559
+ frameworkassemblydirectory="${path::combine(installRoot, 'v4.0.30319')}"
560
+ clrversion="4.0.30319"
561
+ clrtype="Desktop"
548
562
  vendor="Microsoft"
549
- >
550
- <runtime>
551
- <probing-paths>
552
- <directory name="lib/net/2.0" />
553
- <directory name="lib/net/neutral" />
554
- <directory name="lib/common/2.0" />
555
- <directory name="lib/common/neutral" />
556
- </probing-paths>
557
- <modes>
558
- <strict>
559
- <environment>
560
- <variable name="COMPLUS_VERSION" value="v4.0.30319" />
561
- </environment>
562
- </strict>
563
- </modes>
564
- </runtime>
565
- <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}">
566
- <include name="Accessibility.dll" />
567
- <include name="mscorlib.dll" />
568
- <include name="Microsoft.Build.Engine.dll" />
569
- <include name="Microsoft.Build.Framework.dll" />
570
- <include name="Microsoft.Build.Utilities.dll" />
571
- <include name="Microsoft.Vsa.dll" />
572
- <include name="Microsoft.VisualBasic.dll" />
573
- <include name="Microsoft.VisualBasic.Compatibility.dll" />
574
- <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
575
- <include name="System.Configuration.dll" />
576
- <include name="System.Configuration.Install.dll" />
577
- <include name="System.Data.dll" />
578
- <include name="System.Data.OracleClient.dll" />
579
- <include name="System.Data.SqlXml.dll" />
580
- <include name="System.Deployment.dll" />
581
- <include name="System.Design.dll" />
582
- <include name="System.DirectoryServices.dll" />
583
- <include name="System.dll" />
584
- <include name="System.Drawing.Design.dll" />
585
- <include name="System.Drawing.dll" />
586
- <include name="System.EnterpriseServices.dll" />
587
- <include name="System.Management.dll" />
588
- <include name="System.Messaging.dll" />
589
- <include name="System.Runtime.Remoting.dll" />
590
- <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
591
- <include name="System.Security.dll" />
592
- <include name="System.ServiceProcess.dll" />
593
- <include name="System.Transactions.dll" />
594
- <include name="System.Web.dll" />
595
- <include name="System.Web.Mobile.dll" />
596
- <include name="System.Web.RegularExpressions.dll" />
597
- <include name="System.Web.Services.dll" />
598
- <include name="System.Windows.Forms.dll" />
599
- <include name="System.Xml.dll" />
600
- </reference-assemblies>
601
- <task-assemblies>
602
- <!-- include MS.NET version-neutral assemblies -->
603
- <include name="extensions/net/neutral/**/*.dll" />
604
- <!-- include MS.NET 2.0 specific assemblies -->
605
- <include name="extensions/net/2.0/**/*.dll" />
606
- <!-- include MS.NET specific task assembly -->
607
- <include name="NAnt.MSNetTasks.dll" />
608
- <!-- include MS.NET specific test assembly -->
609
- <include name="NAnt.MSNet.Tests.dll" />
610
- <!-- include .NET 2.0 specific assemblies -->
611
- <include name="extensions/common/2.0/**/*.dll" />
612
- </task-assemblies>
613
- <tool-paths>
614
- <directory name="${path::combine(sdkInstallRoot, 'bin')}"
615
- if="${property::exists('sdkInstallRoot')}" />
616
- <directory name="${path::combine(installRoot, 'v4.0.30319')}" />
617
- <directory name="${path::combine(installRoot, 'v3.0')}" />
618
- <directory name="${path::combine(installRoot, 'v3.5')}" />
619
- <!--directory name="${path::combine(installRoot, 'v2.0.50727')}" -->
620
- </tool-paths>
621
- <project>
622
- <readregistry
623
- property="installRoot"
624
- key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
625
- hive="LocalMachine" />
626
- <readregistry
627
- property="sdkInstallRoot"
628
- key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools\InstallationFolder"
629
- hive="LocalMachine"
630
- failonerror="false" />
631
- </project>
632
- <tasks>
633
- <task name="csc">
634
- <attribute name="supportsnowarnlist">true</attribute>
635
- <attribute name="supportswarnaserrorlist">true</attribute>
636
- <attribute name="supportskeycontainer">true</attribute>
637
- <attribute name="supportskeyfile">true</attribute>
638
- <attribute name="supportsdelaysign">true</attribute>
639
- <attribute name="supportsplatform">true</attribute>
640
- <attribute name="supportslangversion">true</attribute>
641
- </task>
642
- <task name="vbc">
643
- <attribute name="supportsdocgeneration">true</attribute>
644
- <attribute name="supportsnostdlib">true</attribute>
645
- <attribute name="supportsnowarnlist">true</attribute>
646
- <attribute name="supportskeycontainer">true</attribute>
647
- <attribute name="supportskeyfile">true</attribute>
648
- <attribute name="supportsdelaysign">true</attribute>
649
- <attribute name="supportsplatform">true</attribute>
650
- <attribute name="supportswarnaserrorlist">true</attribute>
651
- </task>
652
- <task name="jsc">
653
- <attribute name="supportsplatform">true</attribute>
654
- </task>
655
- <task name="vjc">
656
- <attribute name="supportsnowarnlist">true</attribute>
657
- <attribute name="supportskeycontainer">true</attribute>
658
- <attribute name="supportskeyfile">true</attribute>
659
- <attribute name="supportsdelaysign">true</attribute>
660
- </task>
661
- <task name="resgen">
662
- <attribute name="supportsassemblyreferences">true</attribute>
663
- <attribute name="supportsexternalfilereferences">true</attribute>
664
- </task>
665
- <task name="delay-sign">
666
- <attribute name="exename">sn</attribute>
667
- </task>
668
- <task name="license">
669
- <attribute name="exename">lc</attribute>
670
- <attribute name="supportsassemblyreferences">true</attribute>
671
- </task>
672
- </tasks>
563
+ >
564
+ <runtime>
565
+ <probing-paths>
566
+ <directory name="lib/common/2.0" />
567
+ <directory name="lib/common/neutral" />
568
+ </probing-paths>
569
+ <modes>
570
+ <strict>
571
+ <environment>
572
+ <variable name="COMPLUS_VERSION" value="v4.0.30319" />
573
+ </environment>
574
+ </strict>
575
+ </modes>
576
+ </runtime>
577
+ <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}">
578
+ <include name="Accessibility.dll" />
579
+ <include name="Microsoft.Build.Conversion.v4.0.dll" />
580
+ <include name="Microsoft.Build.dll" />
581
+ <include name="Microsoft.Build.Engine.dll" />
582
+ <include name="Microsoft.Build.Framework.dll" />
583
+ <include name="Microsoft.Build.Tasks.v4.0.dll" />
584
+ <include name="Microsoft.Build.Utilities.v4.0.dll" />
585
+ <include name="Microsoft.CSharp.dll" />
586
+ <include name="Microsoft.Data.Entity.Build.Tasks.dll" />
587
+ <include name="Microsoft.JScript.dll" />
588
+ <include name="Microsoft.Transactions.Bridge.dll" />
589
+ <include name="Microsoft.Transactions.Bridge.Dtc.dll" />
590
+ <include name="Microsoft.VisualBasic.Activities.Compiler.dll" />
591
+ <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
592
+ <include name="Microsoft.VisualBasic.Compatibility.dll" />
593
+ <include name="Microsoft.VisualBasic.dll" />
594
+ <include name="Microsoft.VisualC.dll" />
595
+ <include name="Microsoft.VisualC.STLCLR.dll" />
596
+ <include name="mscorlib.dll" />
597
+ <include name="System.Activities.Core.Presentation.dll" />
598
+ <include name="System.Activities.dll" />
599
+ <include name="System.Activities.DurableInstancing.dll" />
600
+ <include name="System.Activities.Presentation.dll" />
601
+ <include name="System.AddIn.Contract" />
602
+ <include name="System.AddIn.dll" />
603
+ <include name="System.ComponentModel.Composition.dll" />
604
+ <include name="System.ComponentModel.DataAnnotations.dll" />
605
+ <include name="System.Configuration.dll" />
606
+ <include name="System.Configuration.Install.dll" />
607
+ <include name="System.Core.dll" />
608
+ <include name="System.Data.DataSetExtensions.dll" />
609
+ <include name="System.Data.dll" />
610
+ <include name="System.Data.Entity.Design.dll" />
611
+ <include name="System.Data.Entity.dll" />
612
+ <include name="System.Data.Linq.dll" />
613
+ <include name="System.Data.OracleClient.dll" />
614
+ <include name="System.Data.Services.Client.dll" />
615
+ <include name="System.Data.Services.Design.dll" />
616
+ <include name="System.Data.Services.dll" />
617
+ <include name="System.Data.SqlXml.dll" />
618
+ <include name="System.Deployment.dll" />
619
+ <include name="System.Design.dll" />
620
+ <include name="System.Device.dll" />
621
+ <include name="System.DirectoryServices.dll" />
622
+ <include name="System.DirectoryServices.Protocols.dll" />
623
+ <include name="System.dll" />
624
+ <include name="System.Drawing.Design.dll" />
625
+ <include name="System.Drawing.dll" />
626
+ <include name="System.Dynamic.dll" />
627
+ <include name="System.EnterpriseServices.dll" />
628
+ <include name="System.EnterpriseServices.Thunk.dll" />
629
+ <include name="System.EnterpriseServices.Wrapper.dll" />
630
+ <include name="System.IdentityModel.dll" />
631
+ <include name="System.IdentityModel.Selectors.dll" />
632
+ <include name="System.IO.Log.dll" />
633
+ <include name="System.Management.dll" />
634
+ <include name="System.Management.Instrumentation.dll" />
635
+ <include name="System.Messaging.dll" />
636
+ <include name="System.Net.dll" />
637
+ <include name="System.Numerics.dll" />
638
+ <include name="System.Runtime.Caching.dll" />
639
+ <include name="System.Runtime.DurableInstancing.dll" />
640
+ <include name="System.Runtime.Remoting.dll" />
641
+ <include name="System.Runtime.Serialization.dll" />
642
+ <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
643
+ <include name="System.Security.dll" />
644
+ <include name="System.ServiceModel.Activation.dll" />
645
+ <include name="System.ServiceModel.Activities.dll" />
646
+ <include name="System.ServiceModel.Channels.dll" />
647
+ <include name="System.ServiceModel.Discovery.dll" />
648
+ <include name="System.ServiceModel.dll" />
649
+ <include name="System.ServiceModel.Routing.dll" />
650
+ <include name="System.ServiceModel.ServiceMoniker40.dll" />
651
+ <include name="System.ServiceModel.WasHosting.dll" />
652
+ <include name="System.ServiceModel.Web.dll" />
653
+ <include name="System.ServiceProcess.dll" />
654
+ <include name="System.Transactions.dll" />
655
+ <include name="System.Web.Abstractions.dll" />
656
+ <include name="System.Web.ApplicationServices.dll" />
657
+ <include name="System.Web.DataVisualization.Design.dll" />
658
+ <include name="System.Web.DataVisualization.dll" />
659
+ <include name="System.Web.dll" />
660
+ <include name="System.Web.DynamicData.Design.dll" />
661
+ <include name="System.Web.DynamicData.dll" />
662
+ <include name="System.Web.Entity.Design.dll" />
663
+ <include name="System.Web.Entity.dll" />
664
+ <include name="System.Web.Extensions.Design.dll" />
665
+ <include name="System.Web.Extensions.dll" />
666
+ <include name="System.Web.Mobile.dll" />
667
+ <include name="System.Web.RegularExpressions.dll" />
668
+ <include name="System.Web.Routing.dll" />
669
+ <include name="System.Web.Services.dll" />
670
+ <include name="System.Windows.Forms.DataVisualization.Design.dll" />
671
+ <include name="System.Windows.Forms.DataVisualization.dll" />
672
+ <include name="System.Windows.Forms.dll" />
673
+ <include name="System.Workflow.Activities.dll" />
674
+ <include name="System.Workflow.ComponentModel.dll" />
675
+ <include name="System.Workflow.Runtime.dll" />
676
+ <include name="System.WorkflowServices.dll" />
677
+ <include name="System.Xaml.dll" />
678
+ <include name="System.Xaml.Hosting.dll" />
679
+ <include name="System.Xml.dll" />
680
+ <include name="System.Xml.Linq.dll" />
681
+ </reference-assemblies>
682
+ <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
683
+ <include name="Microsoft.Build.Conversion.v4.0.dll" />
684
+ <include name="Microsoft.Build.dll" />
685
+ <include name="Microsoft.Build.Engine.dll" />
686
+ <include name="Microsoft.Build.Framework.dll" />
687
+ <include name="Microsoft.Build.Tasks.v4.0.dll" />
688
+ <include name="Microsoft.Build.Utilities.v4.0.dll" />
689
+ <include name="Microsoft.CSharp.dll" />
690
+ <include name="Microsoft.JScript.dll" />
691
+ <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
692
+ <include name="Microsoft.VisualBasic.Comptatibility.dll" />
693
+ <include name="Microsoft.VisualBasic.dll" />
694
+ <include name="Microsoft.VisualC.dll" />
695
+ <include name="Microsoft.VisualC.STLCLR.dll" />
696
+ <include name="mscorlib.dll" />
697
+ <include name="PresentationBuildTasks.dll" />
698
+ <include name="PresentationCore.dll" />
699
+ <include name="PresentationFramework.Aero.dll" />
700
+ <include name="PresentationFramework.Classic.dll" />
701
+ <include name="PresentationFramework.Luna.dll" />
702
+ <include name="PresentationFramework.Royale.dll" />
703
+ <include name="ReachFramework.dll" />
704
+ <include name="System.Activities.Core.Presentation.dll" />
705
+ <include name="System.Activities.dll" />
706
+ <include name="System.Activities.DurableInstancing.dll" />
707
+ <include name="System.Activities.Presentation.dll" />
708
+ <include name="System.AddIn.Contract.dll" />
709
+ <include name="System.AddIn.dll" />
710
+ <include name="System.ComponentModel.Composition.dll" />
711
+ <include name="System.ComponentModel.DataAnnotations.dll" />
712
+ <include name="System.Configuration.dll" />
713
+ <include name="System.Core.dll" />
714
+ <include name="System.Data.DataSetExtension.dll" />
715
+ <include name="System.Data.dll" />
716
+ <include name="System.Data.Entity.Design.dll" />
717
+ <include name="System.Data.Entity.dll" />
718
+ <include name="System.Data.Linq.dll" />
719
+ <include name="System.Data.OracleClient.dll" />
720
+ <include name="System.Data.Services.Client.dll" />
721
+ <include name="System.Data.Services.Design.dll" />
722
+ <include name="System.Data.Services.dll" />
723
+ <include name="System.Data.SqlXml.dll" />
724
+ <include name="System.Deployment.dll" />
725
+ <include name="System.Design.dll" />
726
+ <include name="System.Device.dll" />
727
+ <include name="System.DirectoryServices.AccountManagement.dll" />
728
+ <include name="System.DirectoryServices.dll" />
729
+ <include name="System.DirectoryServices.Protocols.dll" />
730
+ <include name="System.dll" />
731
+ <include name="System.Drawing.Design.dll" />
732
+ <include name="System.Drawing.dll" />
733
+ <include name="System.EnterpriseServices.dll" />
734
+ <include name="System.EnterpriseServices.Thunk.dll" />
735
+ <include name="System.EnterpriseServices.Wrapper.dll" />
736
+ <include name="System.IdentityModel.dll" />
737
+ <include name="System.IdentityModel.Selectors.dll" />
738
+ <include name="System.IO.Log.dll" />
739
+ <include name="System.Management.dll" />
740
+ <include name="System.Management.Instrumentation.dll" />
741
+ <include name="System.Messaging.dll" />
742
+ <include name="System.Net.dll" />
743
+ <include name="System.Numerics.dll" />
744
+ <include name="System.Printing.dll" />
745
+ <include name="System.Runtime.Caching.dll" />
746
+ <include name="System.Runtime.DurableInstancing.dll" />
747
+ <include name="System.Runtime.Remoting.dll" />
748
+ <include name="System.Runtime.Serialization.dll" />
749
+ <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
750
+ <include name="System.Security.dll" />
751
+ <include name="System.ServiceModel.Activation.dll" />
752
+ <include name="System.ServiceModel.Activities.dll" />
753
+ <include name="System.ServiceModel.Channels.dll" />
754
+ <include name="System.ServiceModel.Discovery.dll" />
755
+ <include name="System.ServiceModel.dll" />
756
+ <include name="System.ServiceModel.Routing.dll" />
757
+ <include name="System.ServiceModel.Web.dll" />
758
+ <include name="System.ServiceProcess.dll" />
759
+ <include name="System.Speech.dll" />
760
+ <include name="System.Transactions.dll" />
761
+ <include name="System.Web.Abstractions.dll" />
762
+ <include name="System.Web.ApplicationServices.dll" />
763
+ <include name="System.Web.DataVisualization.Design.dll" />
764
+ <include name="System.Web.DataVisualization.dll" />
765
+ <include name="System.Web.dll" />
766
+ <include name="System.Web.DynamicData.Design.dll" />
767
+ <include name="System.Web.DynamicData.dll" />
768
+ <include name="System.Web.Entity.Design.dll" />
769
+ <include name="System.Web.Entity.dll" />
770
+ <include name="System.Web.Extensions.Design.dll" />
771
+ <include name="System.Web.Extensions.dll" />
772
+ <include name="System.Web.Mobile.dll" />
773
+ <include name="System.Web.RegularExpressions.dll" />
774
+ <include name="System.Web.Routing.dll" />
775
+ <include name="System.Web.Services.dll" />
776
+ <include name="System.Windows.Forms.DataVisualization.Design.dll" />
777
+ <include name="System.Windows.Forms.DataVisualization.dll" />
778
+ <include name="System.Windows.Forms.dll" />
779
+ <include name="System.Windows.Input.Manipulations.dll" />
780
+ <include name="System.Windows.Presentation.dll" />
781
+ <include name="System.Workflow.Activities.dll" />
782
+ <include name="System.Workflow.ComponentModel.dll" />
783
+ <include name="System.Workflow.Runtime.dll" />
784
+ <include name="System.WorkflowServices.dll" />
785
+ <include name="System.Xaml.dll" />
786
+ <include name="System.Xml.dll" />
787
+ <include name="System.Xml.Linq.dll" />
788
+ </reference-assemblies>
789
+ <task-assemblies>
790
+ <!-- include MS.NET version-neutral assemblies -->
791
+ <include name="extensions/net/neutral/**/*.dll" />
792
+ <!-- include MS.NET 4.0 specific assemblies -->
793
+ <include name="extensions/net/4.0/**/*.dll" />
794
+ <!-- include MS.NET specific task assembly -->
795
+ <include name="NAnt.MSNetTasks.dll" />
796
+ <!-- include MS.NET specific test assembly -->
797
+ <include name="NAnt.MSNet.Tests.dll" />
798
+ <!-- include .NET 4.0 specific assemblies -->
799
+ <include name="extensions/common/4.0/**/*.dll" />
800
+ </task-assemblies>
801
+ <tool-paths>
802
+ <directory name="${sdkInstallRoot}"
803
+ if="${property::exists('sdkInstallRoot')}" />
804
+ <directory name="${path::combine(installRoot, 'v4.0.30319')}" />
805
+ </tool-paths>
806
+ <project>
807
+ <readregistry
808
+ property="installRoot"
809
+ key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
810
+ hive="LocalMachine" />
811
+ <locatesdk property="sdkInstallRoot" minwinsdkver="v7.0A" minnetfxver="4.0" maxnetfxver="4.0.99999" failonerror="false" />
812
+ <!--
813
+ <echo message="sdkInstallRoot=${sdkInstallRoot}" if="${property::exists('sdkInstallRoot')}" />
814
+ <readregistry
815
+ property="sdkInstallRoot"
816
+ key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools\InstallationFolder"
817
+ hive="LocalMachine"
818
+ failonerror="false" />
819
+ <readregistry
820
+ property="sdkInstallRoot"
821
+ key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools-x86\InstallationFolder"
822
+ hive="LocalMachine"
823
+ failonerror="false" />
824
+ -->
825
+ </project>
826
+ <tasks>
827
+ <task name="csc">
828
+ <attribute name="supportsnowarnlist">true</attribute>
829
+ <attribute name="supportswarnaserrorlist">true</attribute>
830
+ <attribute name="supportskeycontainer">true</attribute>
831
+ <attribute name="supportskeyfile">true</attribute>
832
+ <attribute name="supportsdelaysign">true</attribute>
833
+ <attribute name="supportsplatform">true</attribute>
834
+ <attribute name="supportslangversion">true</attribute>
835
+ </task>
836
+ <task name="vbc">
837
+ <attribute name="supportsdocgeneration">true</attribute>
838
+ <attribute name="supportsnostdlib">true</attribute>
839
+ <attribute name="supportsnowarnlist">true</attribute>
840
+ <attribute name="supportskeycontainer">true</attribute>
841
+ <attribute name="supportskeyfile">true</attribute>
842
+ <attribute name="supportsdelaysign">true</attribute>
843
+ <attribute name="supportsplatform">true</attribute>
844
+ <attribute name="supportswarnaserrorlist">true</attribute>
845
+ </task>
846
+ <task name="jsc">
847
+ <attribute name="supportsplatform">true</attribute>
848
+ </task>
849
+ <task name="vjc">
850
+ <attribute name="supportsnowarnlist">true</attribute>
851
+ <attribute name="supportskeycontainer">true</attribute>
852
+ <attribute name="supportskeyfile">true</attribute>
853
+ <attribute name="supportsdelaysign">true</attribute>
854
+ </task>
855
+ <task name="resgen">
856
+ <attribute name="supportsassemblyreferences">true</attribute>
857
+ <attribute name="supportsexternalfilereferences">true</attribute>
858
+ </task>
859
+ <task name="delay-sign">
860
+ <attribute name="exename">sn</attribute>
861
+ </task>
862
+ <task name="license">
863
+ <attribute name="exename">lc</attribute>
864
+ <attribute name="supportsassemblyreferences">true</attribute>
865
+ </task>
866
+ </tasks>
673
867
  </framework>
674
868
  <framework
675
869
  name="netcf-1.0"
@@ -2114,8 +2308,11 @@
2114
2308
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
2115
2309
  <probing privatePath="lib" />
2116
2310
  </assemblyBinding>
2311
+ <NetFx40_LegacySecurityPolicy enabled="true"/>
2117
2312
  </runtime>
2118
2313
  <startup>
2314
+ <!-- .NET Framework 4.0 -->
2315
+ <supportedRuntime version="v4.0.30319" />
2119
2316
  <!-- .NET Framework 2.0 -->
2120
2317
  <supportedRuntime version="v2.0.50727" />
2121
2318
  <!-- .NET Framework 1.1 -->