Add .NET 3.0 framework to the build.

Spring.Services.ServiceModel compiles under .NET 3.0 (i.e. no .NET 3.5 language features used anymore)
This commit is contained in:
markpollack
2008-08-13 20:11:46 +00:00
parent 4e5a785273
commit 7ebe06f69b
12 changed files with 296 additions and 41 deletions

View File

@@ -30,7 +30,7 @@
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;DEBUG;NET_2_0</DefineConstants>
<DefineConstants>TRACE;DEBUG;NET_2_0;NET_3_0</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
@@ -120,6 +120,7 @@
<Compile Include="Remoting\SimpleCounter.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="ServiceModel\ServiceExporterTests.cs" />
<Compile Include="Web\Services\WebServiceProxyFactoryTests.cs" />
<EmbeddedResource Include="Data\Spring\Web\Services\rpc-literal.wsdl" />
<EmbeddedResource Include="Data\Spring\Web\Services\document-literal.wsdl" />
@@ -177,9 +178,6 @@
<ItemGroup>
<EmbeddedResource Include="Data\Spring\Remoting\saoSingleton-aop.xml" />
</ItemGroup>
<ItemGroup>
<Folder Include="ServiceModel\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>

View File

@@ -7,6 +7,7 @@
* current.build.defines.csc - framework-specific build defines for C# compiler
-->
<target name="build">
<echo message="current.bin.dir = ${current.bin.dir}"/>
<!-- build Spring.Services.Tests -->
<csc target="library" define="${current.build.defines.csc}"
warnaserror="true"
@@ -27,6 +28,7 @@
</resources>
<references basedir="${current.bin.dir}">
<include name="*.dll" />
<include if="${net-3.0.installed}" name="${net-3.0.ReferenceInstallPath}\System.ServiceModel.dll" />-->
<exclude name="${project::get-name()}.dll" />
<exclude name="CloverRuntime.dll" />
</references>