SPRNET-1292 - Activate option "treat warnings as errors" for all projects.

Spring.Messaging.Ems remains to be done.
This commit is contained in:
markpollack
2009-12-16 04:20:26 +00:00
parent b1f4e4c776
commit 7a7cc7d5cb
9 changed files with 9 additions and 5 deletions

View File

@@ -31,6 +31,7 @@
<DefineConstants>TRACE;NET_2_0</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Apache.NMS, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">

View File

@@ -8,7 +8,7 @@
-->
<target name="build">
<csc target="library" define="${current.build.defines.csc}"
warnaserror="false"
warnaserror="true"
optimize="${build.optimize}"
debug="${current.build.debug}"
output="${current.bin.dir}/${project::get-name()}.dll"

View File

@@ -29,6 +29,7 @@
<DefineConstants>TRACE;NET_2_0</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Common.Logging, Version=1.2.0.0, Culture=neutral, PublicKeyToken=af08829b84f0328e">

View File

@@ -8,7 +8,7 @@
-->
<target name="build">
<csc target="library" define="${current.build.defines.csc}"
warnaserror="false"
warnaserror="true"
optimize="${build.optimize}"
debug="${current.build.debug}"
output="${current.bin.dir}/${project::get-name()}.dll"

View File

@@ -8,7 +8,7 @@
-->
<target name="build">
<csc target="library" define="${current.build.defines.csc}"
warnaserror="false"
warnaserror="true"
optimize="${build.optimize}"
debug="${current.build.debug}"
output="${current.bin.dir}/${project::get-name()}.dll"

View File

@@ -38,6 +38,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>..\..\..\build\VS.NET.2008\Spring.Testing.Microsoft\Debug\Spring.Testing.Microsoft.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

View File

@@ -8,7 +8,7 @@
-->
<target name="build">
<csc target="library" define="${current.build.defines.csc}"
warnaserror="false"
warnaserror="true"
optimize="${build.optimize}"
debug="${current.build.debug}"
output="${current.bin.dir}/${project::get-name()}.dll"

View File

@@ -30,6 +30,7 @@
<WarningLevel>4</WarningLevel>
<NoWarn>1587, 1591, 219, 162, 618</NoWarn>
<DocumentationFile>Spring.Testing.NUnit.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Common.Logging, Version=1.0.2.0, Culture=neutral, PublicKeyToken=af08829b84f0328e">

View File

@@ -8,7 +8,7 @@
-->
<target name="build">
<csc target="library" define="${current.build.defines.csc}"
warnaserror="false"
warnaserror="true"
optimize="${build.optimize}"
debug="${current.build.debug}"
output="${current.bin.dir}/${project::get-name()}.dll"