Permalink
Browse files

Make defined constants consistent between build.cmd and Visual Studio.

Currently build.cmd defines CODE_ANALYSIS when building, but Visual Studio does not. This discrepancy results in problems running build.cmd after building in Visual Studio, because an assembly built without CODE_ANALYSIS loses its SuppressMessage attributes.

Note that the official build already defines this constant, so there's no behavioral difference in that case. This change only affects builds in VS, allowing subsequent FxCop runs to work correctly.
  • Loading branch information...
1 parent 9eda113 commit 42ac452f2490b8510c850ac255e95f9b673241c8 @davidmatson davidmatson committed Oct 26, 2012
Showing with 148 additions and 149 deletions.
  1. +2 −2 src/Microsoft.AspNet.Mvc.Facebook/Microsoft.AspNet.Mvc.Facebook.csproj
  2. +3 −3 src/Microsoft.Web.Helpers/Microsoft.Web.Helpers.csproj
  3. +3 −3 src/Microsoft.Web.Http.Data.EntityFramework/Microsoft.Web.Http.Data.EntityFramework.csproj
  4. +3 −3 src/Microsoft.Web.Http.Data.Helpers/Microsoft.Web.Http.Data.Helpers.csproj
  5. +3 −3 src/Microsoft.Web.Http.Data/Microsoft.Web.Http.Data.csproj
  6. +3 −3 src/Microsoft.Web.Mvc/Microsoft.Web.Mvc.csproj
  7. +3 −3 src/Microsoft.Web.WebPages.OAuth/Microsoft.Web.WebPages.OAuth.csproj
  8. +3 −3 src/SPA/SPA.csproj
  9. +2 −2 src/System.Net.Http.Formatting.NetCore/System.Net.Http.Formatting.NetCore.csproj
  10. +3 −3 src/System.Net.Http.Formatting/System.Net.Http.Formatting.csproj
  11. +3 −3 src/System.Web.Helpers/System.Web.Helpers.csproj
  12. +4 −4 src/System.Web.Http.OData/System.Web.Http.OData.csproj
  13. +3 −3 src/System.Web.Http.SelfHost/System.Web.Http.SelfHost.csproj
  14. +2 −2 src/System.Web.Http.SignalR/System.Web.Http.SignalR.csproj
  15. +3 −3 src/System.Web.Http.Tracing/System.Web.Http.Tracing.csproj
  16. +3 −3 src/System.Web.Http.WebHost/System.Web.Http.WebHost.csproj
  17. +3 −3 src/System.Web.Http/System.Web.Http.csproj
  18. +3 −3 src/System.Web.Mvc/System.Web.Mvc.csproj
  19. +3 −4 src/System.Web.Razor/System.Web.Razor.csproj
  20. +3 −3 src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.csproj
  21. +3 −3 src/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.csproj
  22. +3 −3 src/System.Web.WebPages.Razor/System.Web.WebPages.Razor.csproj
  23. +3 −3 src/System.Web.WebPages/System.Web.WebPages.csproj
  24. +3 −3 src/WebApiHelpPage/WebApiHelpPage.csproj
  25. +3 −3 src/WebMatrix.Data/WebMatrix.Data.csproj
  26. +3 −3 src/WebMatrix.WebData/WebMatrix.WebData.csproj
  27. +3 −3 test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
  28. +3 −3 test/Microsoft.Web.Helpers.Test/Microsoft.Web.Helpers.Test.csproj
  29. +3 −3 test/Microsoft.Web.Http.Data.Helpers.Test/Microsoft.Web.Http.Data.Helpers.Test.csproj
  30. +3 −3 test/Microsoft.Web.Http.Data.Test/Microsoft.Web.Http.Data.Test.csproj
  31. +3 −3 test/Microsoft.Web.Mvc.Test/Microsoft.Web.Mvc.Test.csproj
  32. +3 −3 test/Microsoft.Web.WebPages.OAuth.Test/Microsoft.Web.WebPages.OAuth.Test.csproj
  33. +2 −2 test/SPA.Test/SPA.Test.csproj
  34. +3 −3 test/System.Net.Http.Formatting.Test/System.Net.Http.Formatting.Test.csproj
  35. +3 −3 test/System.Web.Helpers.Test/System.Web.Helpers.Test.csproj
  36. +3 −3 test/System.Web.Http.Integration.Test/System.Web.Http.Integration.Test.csproj
  37. +2 −2 test/System.Web.Http.OData.Test/System.Web.Http.OData.Test.csproj
  38. +3 −3 test/System.Web.Http.SelfHost.Test/System.Web.Http.SelfHost.Test.csproj
  39. +2 −2 test/System.Web.Http.SignalR.Test/System.Web.Http.SignalR.Test.csproj
  40. +3 −3 test/System.Web.Http.Test/System.Web.Http.Test.csproj
  41. +3 −3 test/System.Web.Http.Tracing.Test/System.Web.Http.Tracing.Test.csproj
  42. +3 −3 test/System.Web.Http.WebHost.Test/System.Web.Http.WebHost.Test.csproj
  43. +3 −3 test/System.Web.Mvc.Test/System.Web.Mvc.Test.csproj
  44. +3 −3 test/System.Web.Razor.Test/System.Web.Razor.Test.csproj
  45. +3 −3 test/System.Web.WebPages.Administration.Test/System.Web.WebPages.Administration.Test.csproj
  46. +3 −3 test/System.Web.WebPages.Deployment.Test/System.Web.WebPages.Deployment.Test.csproj
  47. +3 −3 test/System.Web.WebPages.Razor.Test/System.Web.WebPages.Razor.Test.csproj
  48. +3 −3 test/System.Web.WebPages.Test/System.Web.WebPages.Test.csproj
  49. +3 −3 test/WebApiHelpPage.Test/WebApiHelpPage.Test.csproj
  50. +3 −3 test/WebMatrix.Data.Test/WebMatrix.Data.Test.csproj
  51. +3 −3 test/WebMatrix.WebData.Test/WebMatrix.WebData.Test.csproj
@@ -20,15 +20,15 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Extensions\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Extensions\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
@@ -23,7 +23,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants>
<CodeAnalysisRuleSet>..\WebHelpers.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -32,7 +32,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants>
<CodeAnalysisRuleSet>..\WebHelpers.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -41,7 +41,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETWEBPAGES</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\WebHelpers.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -24,7 +24,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -33,7 +33,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -42,7 +42,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETMVC</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -34,7 +34,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -43,7 +43,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETMVC</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -34,7 +34,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -43,7 +43,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETMVC</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -24,7 +24,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -33,7 +33,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -42,7 +42,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DebugType>full</DebugType>
</PropertyGroup>
@@ -21,7 +21,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>..\..\bin\Debug\Microsoft.Web.WebPages.OAuth.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -30,14 +30,14 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETWEBPAGES</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
View
@@ -11,13 +11,13 @@
<OutputPath>bin\$(Configuration)</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DefineConstants>DEBUG;TRACE;$(DefineConstants)</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;CODE_ANALYSIS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'CodeCov|AnyCPU' ">
- <DefineConstants>DEBUG;TRACE;CODECOV;$(DefineConstants)</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;CODE_ANALYSIS;CODECOV</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
@@ -28,12 +28,12 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <DefineConstants>DEBUG;TRACE;NETFX_CORE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;CODE_ANALYSIS;NETFX_CORE;ASPNETMVC</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <DefineConstants>TRACE;NETFX_CORE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;NETFX_CORE;ASPNETMVC</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -34,7 +34,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -43,7 +43,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETMVC</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -21,7 +21,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants>
<CodeAnalysisRuleSet>..\WebHelpers.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -30,7 +30,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants>
<CodeAnalysisRuleSet>..\WebHelpers.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -39,7 +39,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETWEBPAGES;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETWEBPAGES</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\WebHelpers.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -24,7 +24,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\extensions\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -34,7 +34,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\extensions\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
@@ -44,15 +44,15 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\extensions\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DebugType>full</DebugType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(UseNcrunch)' == 'TRUE'">
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;NCRUNCH</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC;NCRUNCH</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Data.Edm, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
@@ -25,7 +25,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>1591</NoWarn>
@@ -34,7 +34,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Release\</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
@@ -43,7 +43,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETMVC</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
@@ -24,14 +24,14 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\extensions\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;CODE_ANALYSIS</DefineConstants>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\extensions\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS</DefineConstants>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
</PropertyGroup>
@@ -20,7 +20,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\bin\Extensions\Debug</OutputPath>
- <DefineConstants>TRACE;DEBUG;ASPNETMVC</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
@@ -30,7 +30,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\bin\Extensions\Release</OutputPath>
- <DefineConstants>TRACE;ASPNETMVC</DefineConstants>
+ <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
@@ -40,7 +40,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\bin\Extensions\CodeCoverage\</OutputPath>
- <DefineConstants>TRACE;DEBUG;CODE_COVERAGE;ASPNETMVC;$(DefineConstants)</DefineConstants>
+ <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETMVC</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
Oops, something went wrong. Retry.

0 comments on commit 42ac452

Please sign in to comment.