Embed debug info for main solution only

fixes 0e892a5f1
This commit is contained in:
James Groom 2024-04-03 23:32:29 +00:00 committed by GitHub
parent b654d4a2ac
commit 82d80bf4bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,8 @@
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<ContinuousIntegrationBuild Condition=" '$(GITLAB_CI)' != '' Or '$(APPVEYOR)' != '' ">true</ContinuousIntegrationBuild>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<ErrorReport>prompt</ErrorReport>
<Features>strict</Features>
@ -19,8 +21,6 @@
<Nullable>enable</Nullable>
<PlatformTarget>AnyCPU</PlatformTarget>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>DEBUG;TRACE</DefineConstants>

View File

@ -2,6 +2,7 @@
<Import Project="../Common.props" />
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<DebugType>embedded</DebugType>
<DefineConstants>$(DefineConstants);AVI_SUPPORT</DefineConstants>
<DocumentationFile>$(MSBuildProjectDirectory)/bin/doc_comments.xml</DocumentationFile>
<NoWarn>$(NoWarn);CS1573;CS1591;NU1702</NoWarn>