-
Notifications
You must be signed in to change notification settings - Fork 7
/
NAnt.exe.config.patch
273 lines (273 loc) · 16.3 KB
/
NAnt.exe.config.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
2166a2167,2326
> name="mono-4.5"
> family="mono"
> version="4.5"
> description="Mono 4.5 Profile"
> sdkdirectory="${toolDirectory}"
> frameworkdirectory="${toolDirectory}"
> frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/4.5')}"
> clrversion="4.0.30319"
> clrtype="Desktop"
> vendor="Mono"
> >
> <runtime>
> <probing-paths>
> <directory name="lib/mono/4.5" />
> <directory name="lib/mono/neutral" />
> <directory name="lib/common/4.5" />
> <directory name="lib/common/neutral" />
> </probing-paths>
> <modes>
> <auto>
> <engine program="${runtimeEngine}" />
> <environment>
> <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
> <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
> </environment>
> </auto>
> <strict>
> <engine program="${runtimeEngine}">
> <arg value="--runtime=v4.0.30319" />
> </engine>
> <environment>
> <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
> <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
> </environment>
> </strict>
> </modes>
> </runtime>
> <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/4.5')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/4.0')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.0')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
> <include name="*.dll" />
> </reference-assemblies>
> <task-assemblies>
> <!-- include Mono version-neutral assemblies -->
> <include name="extensions/mono/neutral/**/*.dll" />
> <!-- include Mono 4.5 specific assemblies -->
> <include name="extensions/mono/4.5/**/*.dll" />
> <!-- include .NET 4.5 specific assemblies -->
> <include name="extensions/common/4.5/**/*.dll" />
> </task-assemblies>
> <tool-paths>
> <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/4.5')}" />
> <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/4.0')}" />
> <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
> <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
> <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
> <!-- unmanaged tools -->
> <directory name="${sdkInstallRoot}/bin" />
> </tool-paths>
> <project>
> <!-- quick and dirty check to see if pkg-config is available (and configured) -->
> <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
> <if test="${pkgconfig.available}">
> <if test="${pkg-config::exists('mono')}">
> <call target="configure-from-pkg-config" />
> </if>
> <if test="${not pkg-config::exists('mono')}">
> <call target="configure-from-registry" />
> </if>
> </if>
> <if test="${not pkgconfig.available}">
> <call target="configure-from-registry" />
> </if>
>
> <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/4.5')}" />
> <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
>
> <target name="configure-from-pkg-config">
> <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
> <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
> <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
> <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
> </target>
>
> <target name="configure-from-registry">
> <monoregistry property="mono.reg" failonerror="false" />
> <readregistry
> property="mono.version"
> key="${mono.reg}\DefaultCLR"
> hive="LocalMachine"
> />
> <property name="monokey" value="${mono.reg}\${mono.version}" />
>
> <readregistry
> property="sdkInstallRoot"
> key="${monokey}\SdkInstallRoot"
> hive="LocalMachine" />
> <readregistry
> property="frameworkAssemblyDirectory"
> key="${monokey}\FrameworkAssemblyDirectory"
> hive="LocalMachine" />
> <readregistry
> property="configDir"
> key="${monokey}\MonoConfigDir"
> hive="LocalMachine" />
> </target>
> </project>
> <properties>
> </properties>
> <tasks>
> <task name="al">
> <attribute name="managed">true</attribute>
> </task>
> <task name="csc">
> <attribute name="exename">mcs</attribute>
> <attribute name="managed">true</attribute>
> <attribute name="langversion">linq</attribute>
> <attribute name="supportspackagereferences">true</attribute>
> <attribute name="supportsnowarnlist">true</attribute>
> <attribute name="supportsdocgeneration">true</attribute>
> <attribute name="supportskeycontainer">true</attribute>
> <attribute name="supportskeyfile">true</attribute>
> <attribute name="supportsdelaysign">true</attribute>
> <attribute name="supportslangversion">true</attribute>
> </task>
> <task name="jsc">
> <attribute name="exename">mjs</attribute>
> <attribute name="managed">strict</attribute>
> </task>
> <task name="vbc">
> <attribute name="exename">vbnc</attribute>
> <attribute name="managed">true</attribute>
> </task>
> <task name="resgen">
> <attribute name="managed">true</attribute>
> <attribute name="supportsexternalfilereferences">true</attribute>
> </task>
> <task name="delay-sign">
> <attribute name="exename">sn</attribute>
> <attribute name="managed">true</attribute>
> </task>
> <task name="license">
> <attribute name="hascommandlinecompiler">false</attribute>
> </task>
> <task name="ilasm">
> <attribute name="managed">true</attribute>
> </task>
> </tasks>
> </framework>
> <framework
2778a2939,3049
> name="mono-4.5"
> family="mono"
> version="4.5"
> description="Mono 4.5 Profile"
> sdkdirectory="${toolDirectory}"
> frameworkdirectory="${toolDirectory}"
> frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/4.5')}"
> clrversion="4.0.30319"
> clrtype="Desktop"
> vendor="Mono"
> >
> <runtime>
> <probing-paths>
> <directory name="lib/mono/4.5" />
> <directory name="lib/mono/neutral" />
> <directory name="lib/common/4.5" />
> <directory name="lib/common/neutral" />
> </probing-paths>
> <modes>
> <auto>
> <engine program="${path::combine(prefix, 'bin/mono')}" />
> </auto>
> <strict>
> <engine program="${path::combine(prefix, 'bin/mono')}">
> <arg value="--runtime=v4.0.30319" />
> </engine>
> </strict>
> </modes>
> </runtime>
> <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/4.5')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/4.0')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.5')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.0')}">
> <include name="*.dll" />
> </reference-assemblies>
> <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
> <include name="*.dll" />
> </reference-assemblies>
> <task-assemblies>
> <!-- include Mono version-neutral assemblies -->
> <include name="extensions/mono/neutral/**/*.dll" />
> <!-- include Mono 4.5 specific assemblies -->
> <include name="extensions/mono/4.5/**/*.dll" />
> <!-- include .NET 2.0 specific assemblies -->
> <include name="extensions/common/4.5/**/*.dll" />
> </task-assemblies>
> <tool-paths>
> <directory name="${toolDirectory}" />
> <directory name="${path::combine(prefix, 'lib/mono/4.5')}" />
> <directory name="${path::combine(prefix, 'lib/mono/4.0')}" />
> <directory name="${path::combine(prefix, 'lib/mono/3.5')}" />
> <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
> <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
> <!-- unmanaged tools -->
> <directory name="${prefix}/bin" />
> </tool-paths>
> <project>
> <if test="${not pkg-config::exists('mono')}">
> <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
> </if>
> <property name="resgen.supportsexternalfilereferences" value="false" />
> <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
> <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/4.5')}" />
> </project>
> <tasks>
> <task name="al">
> <attribute name="managed">true</attribute>
> </task>
> <task name="csc">
> <attribute name="exename">mcs</attribute>
> <attribute name="managed">true</attribute>
> <attribute name="langversion">linq</attribute>
> <attribute name="supportspackagereferences">true</attribute>
> <attribute name="supportsnowarnlist">true</attribute>
> <attribute name="supportsdocgeneration">true</attribute>
> <attribute name="supportskeycontainer">true</attribute>
> <attribute name="supportskeyfile">true</attribute>
> <attribute name="supportsdelaysign">true</attribute>
> <attribute name="supportslangversion">true</attribute>
> </task>
> <task name="jsc">
> <attribute name="exename">mjs</attribute>
> <attribute name="managed">strict</attribute>
> </task>
> <task name="vbc">
> <attribute name="exename">vbnc</attribute>
> <attribute name="managed">true</attribute>
> </task>
> <task name="resgen">
> <attribute name="managed">true</attribute>
> <attribute name="supportsexternalfilereferences">true</attribute>
> </task>
> <task name="delay-sign">
> <attribute name="exename">sn</attribute>
> <attribute name="managed">true</attribute>
> </task>
> <task name="license">
> <attribute name="hascommandlinecompiler">false</attribute>
> </task>
> <task name="ilasm">
> <attribute name="managed">true</attribute>
> </task>
> </tasks>
> </framework>
> <framework