diff options
Diffstat (limited to 'src/System.Web.Http.OData/System.Web.Http.OData.csproj')
-rw-r--r-- | src/System.Web.Http.OData/System.Web.Http.OData.csproj | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/src/System.Web.Http.OData/System.Web.Http.OData.csproj b/src/System.Web.Http.OData/System.Web.Http.OData.csproj index ae7b06e6..eca588da 100644 --- a/src/System.Web.Http.OData/System.Web.Http.OData.csproj +++ b/src/System.Web.Http.OData/System.Web.Http.OData.csproj @@ -4,7 +4,6 @@ <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <CodeAnalysis Condition=" '$(CodeAnalysis)' == '' ">false</CodeAnalysis> <ProductVersion>9.0.30729</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{CF73AAA7-ACE9-4C91-AFA5-5EC1DF18FEEE}</ProjectGuid> @@ -12,9 +11,6 @@ <AssemblyName>System.Web.Http.OData</AssemblyName> <OutputType>Library</OutputType> <FileAlignment>512</FileAlignment> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <RestorePackages>true</RestorePackages> <CopyPackages>true</CopyPackages> <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> @@ -23,31 +19,56 @@ <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> - <OutputPath>..\..\bin\extensions\Debug\</OutputPath> + <OutputPath>..\..\bin\Extensions\Debug\</OutputPath> <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> - <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile> <NoWarn>1591</NoWarn> + <DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile> + <RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis> + <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> - <OutputPath>..\..\bin\extensions\Release\</OutputPath> + <OutputPath>..\..\bin\Extensions\Release\</OutputPath> <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> + <DefineConstants>TRACE;ASPNETMVC</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>1591</NoWarn> + <DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile> <RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis> - <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile> + <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'CodeAnalysis|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>..\..\bin\Extensions\CodeAnalysis\</OutputPath> + <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETMVC</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <NoWarn>1591</NoWarn> + <DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile> + <RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis> + <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU'"> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'CodeCoverage|AnyCPU' "> <DebugSymbols>true</DebugSymbols> - <OutputPath>..\..\bin\extensions\CodeCoverage\</OutputPath> - <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants> - <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> <DebugType>full</DebugType> + <OutputPath>..\..\bin\Extensions\CodeCoverage\</OutputPath> + <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETMVC</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis> + <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> </PropertyGroup> <PropertyGroup Condition="'$(UseNcrunch)' == 'TRUE'"> <SignAssembly>false</SignAssembly> |