diff options
author | Daniel Grunwald <daniel@danielgrunwald.de> | 2014-06-28 00:58:51 +0400 |
---|---|---|
committer | Daniel Grunwald <daniel@danielgrunwald.de> | 2014-06-28 00:58:51 +0400 |
commit | be0aa56cecee3bde67d891450e2064a772872659 (patch) | |
tree | 3ef7a1bef9e5d856d588de85663d234846c996d5 | |
parent | 9d875d31a6a81e0d339b99eee3a2af6af5831886 (diff) |
Set DebugType in release builds to PdbOnly5.4.0
4 files changed, 43 insertions, 12 deletions
diff --git a/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj b/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj index 5a4ce659..4c53d5ff 100644 --- a/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj +++ b/ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build"> <PropertyGroup> <ProjectGuid>{53DCA265-3C3C-42F9-B647-F72BA678122B}</ProjectGuid> @@ -11,7 +11,7 @@ <AllowUnsafeBlocks>False</AllowUnsafeBlocks> <NoStdLib>False</NoStdLib> <WarningLevel>4</WarningLevel> - <TreatWarningsAsErrors>false</TreatWarningsAsErrors> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> <ProductVersion>8.0.30703</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <SignAssembly>true</SignAssembly> @@ -21,6 +21,8 @@ <DocumentationFile>..\bin\$(Configuration)\ICSharpCode.NRefactory.CSharp.xml</DocumentationFile> <NoWarn>1591,1587,1570</NoWarn> <OutputPath>..\bin\$(Configuration)\</OutputPath> + <NoWin32Manifest>False</NoWin32Manifest> + <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -38,9 +40,10 @@ <Optimize>True</Optimize> <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> <DefineConstants>TRACE;FULL_AST;NET_4_0</DefineConstants> + <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>none</DebugType> + <DebugType>PdbOnly</DebugType> <AllowUnsafeBlocks>True</AllowUnsafeBlocks> <OutputPath>..\bin\Release\</OutputPath> </PropertyGroup> @@ -414,4 +417,4 @@ <Folder Include="PatternMatching\" /> <Folder Include="IndentEngine\" /> </ItemGroup> -</Project> +</Project>
\ No newline at end of file diff --git a/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj b/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj index c9ca4bb4..2475b0ab 100644 --- a/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj +++ b/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj @@ -11,21 +11,27 @@ <AssemblyName>ICSharpCode.NRefactory.Cecil</AssemblyName> <SignAssembly>true</SignAssembly> <AssemblyOriginatorKeyFile>..\ICSharpCode.NRefactory.snk</AssemblyOriginatorKeyFile> + <NoWin32Manifest>False</NoWin32Manifest> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <NoStdLib>False</NoStdLib> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> + <DocumentationFile>bin\$(Configuration)\ICSharpCode.NRefactory.Cecil.xml</DocumentationFile> + <NoWarn>1591</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug</OutputPath> - <DefineConstants>DEBUG;</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>full</DebugType> - <Optimize>true</Optimize> + <DebugType>PdbOnly</DebugType> + <Optimize>True</Optimize> <OutputPath>bin\Release</OutputPath> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> @@ -37,7 +43,6 @@ <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug</OutputPath> - <DefineConstants>DEBUG;</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> @@ -52,6 +57,23 @@ <ConsolePause>false</ConsolePause> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> + <DefineConstants>DEBUG;</DefineConstants> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)' == 'net_4_5_Debug' "> + <DefineConstants>DEBUG;</DefineConstants> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> + </PropertyGroup> + <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> + <BaseAddress>4194304</BaseAddress> + <PlatformTarget>AnyCPU</PlatformTarget> + <RegisterForComInterop>False</RegisterForComInterop> + <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> + <FileAlignment>4096</FileAlignment> + </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Core" /> diff --git a/ICSharpCode.NRefactory.Xml/ICSharpCode.NRefactory.Xml.csproj b/ICSharpCode.NRefactory.Xml/ICSharpCode.NRefactory.Xml.csproj index 352e44ae..0c3d32c0 100644 --- a/ICSharpCode.NRefactory.Xml/ICSharpCode.NRefactory.Xml.csproj +++ b/ICSharpCode.NRefactory.Xml/ICSharpCode.NRefactory.Xml.csproj @@ -11,7 +11,7 @@ <AllowUnsafeBlocks>False</AllowUnsafeBlocks> <NoStdLib>False</NoStdLib> <WarningLevel>4</WarningLevel> - <TreatWarningsAsErrors>false</TreatWarningsAsErrors> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> <SignAssembly>true</SignAssembly> <AssemblyOriginatorKeyFile>..\ICSharpCode.NRefactory.snk</AssemblyOriginatorKeyFile> <DelaySign>False</DelaySign> @@ -20,6 +20,8 @@ <SchemaVersion>2.0</SchemaVersion> <OutputPath>..\bin\$(Configuration)\</OutputPath> <DocumentationFile>..\bin\$(Configuration)\ICSharpCode.NRefactory.Xml.xml</DocumentationFile> + <NoWin32Manifest>False</NoWin32Manifest> + <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -37,9 +39,10 @@ <Optimize>True</Optimize> <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> <DefineConstants>TRACE;FULL_AST;NET_4_0</DefineConstants> + <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>none</DebugType> + <DebugType>PdbOnly</DebugType> <AllowUnsafeBlocks>True</AllowUnsafeBlocks> <OutputPath>..\bin\Release\</OutputPath> </PropertyGroup> diff --git a/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj b/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj index 3f348fbe..acb3e194 100644 --- a/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj +++ b/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj @@ -12,7 +12,7 @@ <SchemaVersion>2.0</SchemaVersion> <AllowUnsafeBlocks>False</AllowUnsafeBlocks> <NoStdLib>False</NoStdLib> - <TreatWarningsAsErrors>false</TreatWarningsAsErrors> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> <RunCodeAnalysis>False</RunCodeAnalysis> <CodeAnalysisRules>-Microsoft.Design#CA1000;-Microsoft.Design#CA1004;-Microsoft.Design#CA1005;-Microsoft.Design#CA1006;-Microsoft.Design#CA1026;-Microsoft.Design#CA1033;-Microsoft.Design#CA1051;-Microsoft.Design#CA1063;-Microsoft.Naming#CA1702;-Microsoft.Naming#CA1704;-Microsoft.Naming#CA1710;-Microsoft.Naming#CA1716;-Microsoft.Naming#CA1720;-Microsoft.Performance#CA1800;-Microsoft.Security#CA2104</CodeAnalysisRules> <SignAssembly>True</SignAssembly> @@ -23,6 +23,8 @@ <NoWarn>1591</NoWarn> <OutputPath>..\bin\$(Configuration)\</OutputPath> <DocumentationFile>..\bin\$(Configuration)\ICSharpCode.NRefactory.xml</DocumentationFile> + <NoWin32Manifest>False</NoWin32Manifest> + <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -41,6 +43,7 @@ <Optimize>True</Optimize> <DefineConstants>TRACE</DefineConstants> <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugType>full</DebugType> @@ -48,7 +51,7 @@ <OutputPath>..\bin\Debug\</OutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>none</DebugType> + <DebugType>PdbOnly</DebugType> <OutputPath>..\bin\Release\</OutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'net_4_5_Debug' "> |