diff options
Diffstat (limited to 'build/common.targets')
-rw-r--r-- | build/common.targets | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.targets b/build/common.targets index 1ead1508..bb13a26a 100644 --- a/build/common.targets +++ b/build/common.targets @@ -14,6 +14,9 @@ repo. It imports the other MSBuild files as needed. <DefineConstants>$(DefineConstants);SMAPI_DEPRECATED</DefineConstants> <DebugSymbols>true</DebugSymbols> + <!--embed symbols for error stack trace line numbers on Linux/macOS: https://github.com/dotnet/runtime/issues/39987--> + <DebugType>embedded</DebugType> + <!--enable nullable annotations, except in .NET Standard 2.0 where they aren't supported--> <Nullable Condition="'$(TargetFramework)' != 'netstandard2.0'">enable</Nullable> <NoWarn Condition="'$(TargetFramework)' == 'netstandard2.0'">$(NoWarn);CS8632</NoWarn> |