Skip to content
Permalink
Browse files
Added support for .NET Compact Framework 3.5.
Sign the assemblies for Compact Framework builds.
Removed obsolete configuration for .NET 1.1 Framework.

Fixes [AMQNET-229]. (See https://issues.apache.org/activemq/browse/AMQNET-229)
  • Loading branch information
Jim Gomes committed Feb 8, 2010
1 parent ee8c747 commit f18e5b797ab3b5b0cc6823ab1790ca74c7a8c7ad
Showing 1 changed file with 14 additions and 14 deletions.
@@ -41,7 +41,7 @@
<property name="current.build.config" value="${if(project.release.type == 'release', 'release', 'debug')}" overwrite="false" />
<property name="current.build.framework" value="${framework::get-target-framework()}" overwrite="false" />
<property name="current.build.defines" value="${build.defines}" />
<property name="build.framework.strings" value="net-2.0,net-3.5,mono-2.0,netcf-2.0" unless="${property::exists('build.framework.strings')}"/>
<property name="build.framework.strings" value="net-2.0,net-3.5,mono-2.0,netcf-2.0,netcf-3.5" unless="${property::exists('build.framework.strings')}"/>
<property name="current.build.framework.assembly.dir" value="${framework::get-assembly-directory(framework::get-target-framework())}" dynamic="true" />

<property name="build.config.strings" value="${if(property::exists('configuration'), configuration, if(build.skip.release == 'true', 'debug', 'debug,release'))}" dynamic="true" />
@@ -194,18 +194,6 @@
<property name="csc.optimize" value="true" />
</target>

<target name="set-net-1.1-framework-configuration">
<property name="current.build.framework" value="net-1.1" />
<property name="current.build.framework.name" value=".NET 1.1" />
<property name="current.build.defines" value="${build.defines}NET,NET_1_1" dynamic="true" />
<property name="current.build.framework.sign" value="false" />
<property name="link.sdkdoc.version" value="SDK_v1_1" />
<property name="link.sdkdoc.web" value="true" />
<if test="${framework::exists(current.build.framework)}">
<property name="nant.settings.currentframework" value="${current.build.framework}" />
</if>
</target>

<target name="set-net-2.0-framework-configuration">
<property name="current.build.framework" value="net-2.0" />
<property name="current.build.framework.name" value=".NET 2.0" />
@@ -234,14 +222,26 @@
<property name="current.build.framework" value="netcf-2.0" />
<property name="current.build.framework.name" value=".NET Compact Framework 2.0" />
<property name="current.build.defines" value="${build.defines}PocketPC,NETCF,NETCF_2_0" dynamic="true" />
<property name="current.build.framework.sign" value="false" />
<property name="current.build.framework.sign" value="true" />
<property name="link.sdkdoc.version" value="SDK_v1_1" />
<property name="link.sdkdoc.web" value="true" />
<if test="${framework::exists(current.build.framework)}">
<property name="nant.settings.currentframework" value="${current.build.framework}" />
</if>
</target>

<target name="set-netcf-3.5-framework-configuration">
<property name="current.build.framework" value="netcf-3.5" />
<property name="current.build.framework.name" value=".NET Compact Framework 3.5" />
<property name="current.build.defines" value="${build.defines}PocketPC,NETCF,NETCF_3_5" dynamic="true" />
<property name="current.build.framework.sign" value="true" />
<property name="link.sdkdoc.version" value="SDK_v3_5" />
<property name="link.sdkdoc.web" value="true" />
<if test="${framework::exists(current.build.framework)}">
<property name="nant.settings.currentframework" value="${current.build.framework}" />
</if>
</target>

<target name="set-mono-2.0-framework-configuration">
<property name="current.build.framework" value="mono-2.0" />
<property name="current.build.framework.name" value="Mono 2.0" />

0 comments on commit f18e5b7

Please sign in to comment.