diff options
Diffstat (limited to 'src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.csproj')
-rw-r--r-- | src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.csproj | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.csproj b/src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.csproj index ef3ed7df..273db6ce 100644 --- a/src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.csproj +++ b/src/System.Web.WebPages.Administration/System.Web.WebPages.Administration.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>{C23F02FC-4538-43F5-ABBA-38BA069AEA8F}</ProjectGuid> @@ -13,9 +12,6 @@ <RootNamespace>System.Web.WebPages.Administration</RootNamespace> <AssemblyName>System.Web.WebPages.Administration</AssemblyName> <FileAlignment>512</FileAlignment> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> <RestorePackages>true</RestorePackages> </PropertyGroup> @@ -25,25 +21,52 @@ <Optimize>false</Optimize> <OutputPath>..\..\bin\Debug\</OutputPath> <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants> - <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> - <DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile> + <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)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>..\..\bin\Release\</OutputPath> - <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETWEBPAGES</DefineConstants> - <CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet> + <DefineConstants>TRACE;ASPNETWEBPAGES</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\CodeAnalysis\</OutputPath> + <DefineConstants>TRACE;CODE_ANALYSIS;ASPNETWEBPAGES</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> + <DebugType>full</DebugType> + <Optimize>false</Optimize> <OutputPath>..\..\bin\CodeCoverage\</OutputPath> <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS;CODE_COVERAGE;ASPNETWEBPAGES</DefineConstants> - <DebugType>full</DebugType> + <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> <ItemGroup> |