This is an automated email from the ASF dual-hosted git repository. mmartell pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push: new 0d80d60 GEODE-9608: Remove Release config, add Opimization and pdb (#877) 0d80d60 is described below commit 0d80d600e456f51a385a5500eca40ac602b7603c Author: Michael Martell <mmart...@pivotal.io> AuthorDate: Mon Oct 4 15:23:00 2021 -0700 GEODE-9608: Remove Release config, add Opimization and pdb (#877) --- .../asp-netcore-session-sample.csproj | 15 +++++ .../netcore-integration-test.csproj | 68 +++++++++++++--------- netcore/netcore-lib/netcore-lib.csproj | 17 +++++- .../netcore-session-integration-test.csproj | 18 +++++- netcore/netcore-session/netcore-session.csproj | 16 +++++ 5 files changed, 103 insertions(+), 31 deletions(-) diff --git a/netcore/asp-netcore-session-sample/asp-netcore-session-sample.csproj b/netcore/asp-netcore-session-sample/asp-netcore-session-sample.csproj index 3928293..347da91 100644 --- a/netcore/asp-netcore-session-sample/asp-netcore-session-sample.csproj +++ b/netcore/asp-netcore-session-sample/asp-netcore-session-sample.csproj @@ -3,11 +3,26 @@ <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> <Platforms>x64</Platforms> + <Configurations>Debug;RelWithDebInfo</Configurations> </PropertyGroup> <ItemGroup> <ProjectReference Include="..\netcore-session\netcore-session.csproj" /> </ItemGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> </Project> diff --git a/netcore/netcore-integration-test/netcore-integration-test.csproj b/netcore/netcore-integration-test/netcore-integration-test.csproj index 78dc7b4..01fc77c 100644 --- a/netcore/netcore-integration-test/netcore-integration-test.csproj +++ b/netcore/netcore-integration-test/netcore-integration-test.csproj @@ -1,32 +1,44 @@ <Project Sdk="Microsoft.NET.Sdk"> - <PropertyGroup> - <TargetFramework>netcoreapp3.1</TargetFramework> - - <IsPackable>false</IsPackable> - - <Platforms>x64</Platforms> - - <Configurations>Debug;Release;RelWithDebInfo</Configurations> - </PropertyGroup> - - <ItemGroup> - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" /> - <PackageReference Include="xunit" Version="2.4.1" /> - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> - <PrivateAssets>all</PrivateAssets> - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> - </PackageReference> - </ItemGroup> - - <ItemGroup> - <ProjectReference Include="..\netcore-lib\netcore-lib.csproj" /> - </ItemGroup> - - <ItemGroup> - <None Update="xunit.runner.json"> - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> - </None> - </ItemGroup> + <PropertyGroup> + <TargetFramework>netcoreapp3.1</TargetFramework> + <IsPackable>false</IsPackable> + <Platforms>x64</Platforms> + <Configurations>Debug;RelWithDebInfo</Configurations> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" /> + <PackageReference Include="xunit" Version="2.4.1" /> + <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> + <PrivateAssets>all</PrivateAssets> + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> + </PackageReference> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\netcore-lib\netcore-lib.csproj" /> + </ItemGroup> + + <ItemGroup> + <None Update="xunit.runner.json"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + </ItemGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> </Project> diff --git a/netcore/netcore-lib/netcore-lib.csproj b/netcore/netcore-lib/netcore-lib.csproj index 0258bf1..35ae18e 100644 --- a/netcore/netcore-lib/netcore-lib.csproj +++ b/netcore/netcore-lib/netcore-lib.csproj @@ -5,7 +5,22 @@ <RootNamespace>Apache.Geode.NetCore</RootNamespace> <AssemblyName>Apache.Geode.NetCore</AssemblyName> <Platforms>x64</Platforms> - <Configurations>Debug;Release;RelWithDebInfo</Configurations> + <Configurations>Debug;RelWithDebInfo</Configurations> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + </Project> diff --git a/netcore/netcore-session-integration-test/netcore-session-integration-test.csproj b/netcore/netcore-session-integration-test/netcore-session-integration-test.csproj index de4d070..e8a76d7 100644 --- a/netcore/netcore-session-integration-test/netcore-session-integration-test.csproj +++ b/netcore/netcore-session-integration-test/netcore-session-integration-test.csproj @@ -2,10 +2,9 @@ <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> - <IsPackable>false</IsPackable> - <Platforms>x64</Platforms> + <Configurations>Debug;RelWithDebInfo</Configurations> </PropertyGroup> <ItemGroup> @@ -20,4 +19,19 @@ <ProjectReference Include="..\netcore-lib\netcore-lib.csproj" /> </ItemGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + </Project> diff --git a/netcore/netcore-session/netcore-session.csproj b/netcore/netcore-session/netcore-session.csproj index 41d119d..3621586 100644 --- a/netcore/netcore-session/netcore-session.csproj +++ b/netcore/netcore-session/netcore-session.csproj @@ -3,6 +3,7 @@ <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> <Platforms>x64</Platforms> + <Configurations>Debug;RelWithDebInfo</Configurations> </PropertyGroup> <ItemGroup> @@ -14,4 +15,19 @@ <ProjectReference Include="..\netcore-lib\netcore-lib.csproj" /> </ItemGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'"> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <WarningsAsErrors /> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <DebugSymbols>true</DebugSymbols> + </PropertyGroup> + </Project>