Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 349eda5

Browse files
committed
Add mono-4.5 to NAnt
1 parent aa480d5 commit 349eda5

File tree

1 file changed

+109
-0
lines changed

1 file changed

+109
-0
lines changed

Tools/NAnt/NAnt.exe.config

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3112,6 +3112,115 @@
31123112
</task>
31133113
</tasks>
31143114
</framework>
3115+
<framework
3116+
name="mono-4.5"
3117+
family="mono"
3118+
version="4.5"
3119+
description="Mono 4.5 Profile"
3120+
sdkdirectory="${toolDirectory}"
3121+
frameworkdirectory="${toolDirectory}"
3122+
frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/4.5')}"
3123+
clrversion="4.0.30319"
3124+
clrtype="Desktop"
3125+
vendor="Mono"
3126+
>
3127+
<runtime>
3128+
<probing-paths>
3129+
<directory name="lib/mono/2.0" />
3130+
<directory name="lib/mono/neutral" />
3131+
<directory name="lib/common/2.0" />
3132+
<directory name="lib/common/neutral" />
3133+
</probing-paths>
3134+
<modes>
3135+
<auto>
3136+
<engine program="${path::combine(prefix, 'bin/mono')}" />
3137+
</auto>
3138+
<strict>
3139+
<engine program="${path::combine(prefix, 'bin/mono')}">
3140+
<arg value="--runtime=v4.0.30319" />
3141+
</engine>
3142+
</strict>
3143+
</modes>
3144+
</runtime>
3145+
<reference-assemblies basedir="${path::combine(prefix, 'lib/mono/4.5')}">
3146+
<include name="*.dll" />
3147+
</reference-assemblies>
3148+
<reference-assemblies basedir="${path::combine(prefix, 'lib/mono/4.0')}">
3149+
<include name="*.dll" />
3150+
</reference-assemblies>
3151+
<reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.5')}">
3152+
<include name="*.dll" />
3153+
</reference-assemblies>
3154+
<reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.0')}">
3155+
<include name="*.dll" />
3156+
</reference-assemblies>
3157+
<reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
3158+
<include name="*.dll" />
3159+
</reference-assemblies>
3160+
<task-assemblies>
3161+
<!-- include Mono version-neutral assemblies -->
3162+
<include name="extensions/mono/neutral/**/*.dll" />
3163+
<!-- include Mono 2.0 specific assemblies -->
3164+
<include name="extensions/mono/2.0/**/*.dll" />
3165+
<!-- include .NET 2.0 specific assemblies -->
3166+
<include name="extensions/common/2.0/**/*.dll" />
3167+
</task-assemblies>
3168+
<tool-paths>
3169+
<directory name="${toolDirectory}" />
3170+
<directory name="${path::combine(prefix, 'lib/mono/3.5')}" />
3171+
<directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
3172+
<directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
3173+
<!-- unmanaged tools -->
3174+
<directory name="${prefix}/bin" />
3175+
</tool-paths>
3176+
<project>
3177+
<if test="${not pkg-config::exists('mono')}">
3178+
<fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
3179+
</if>
3180+
<property name="resgen.supportsexternalfilereferences" value="false" />
3181+
<property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
3182+
<property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/4.5')}" />
3183+
</project>
3184+
<tasks>
3185+
<task name="al">
3186+
<attribute name="managed">true</attribute>
3187+
</task>
3188+
<task name="csc">
3189+
<attribute name="exename">dmcs</attribute>
3190+
<attribute name="managed">true</attribute>
3191+
<attribute name="langversion">linq</attribute>
3192+
<attribute name="supportspackagereferences">true</attribute>
3193+
<attribute name="supportsnowarnlist">true</attribute>
3194+
<attribute name="supportsdocgeneration">true</attribute>
3195+
<attribute name="supportskeycontainer">true</attribute>
3196+
<attribute name="supportskeyfile">true</attribute>
3197+
<attribute name="supportsdelaysign">true</attribute>
3198+
<attribute name="supportslangversion">true</attribute>
3199+
</task>
3200+
<task name="jsc">
3201+
<attribute name="exename">mjs</attribute>
3202+
<attribute name="managed">strict</attribute>
3203+
</task>
3204+
<task name="vbc">
3205+
<attribute name="exename">vbnc</attribute>
3206+
<attribute name="managed">true</attribute>
3207+
</task>
3208+
<task name="resgen">
3209+
<attribute name="managed">true</attribute>
3210+
<attribute name="supportsexternalfilereferences">true</attribute>
3211+
</task>
3212+
<task name="delay-sign">
3213+
<attribute name="exename">sn</attribute>
3214+
<attribute name="managed">true</attribute>
3215+
</task>
3216+
<task name="license">
3217+
<attribute name="hascommandlinecompiler">false</attribute>
3218+
</task>
3219+
<task name="ilasm">
3220+
<attribute name="managed">true</attribute>
3221+
</task>
3222+
</tasks>
3223+
</framework>
31153224
<framework
31163225
name="moonlight-2.0"
31173226
family="moonlight"

0 commit comments

Comments
 (0)