diff options
Diffstat (limited to 'src/ToolBox/SOS/NETCore/SOS.NETCore.csproj')
-rw-r--r-- | src/ToolBox/SOS/NETCore/SOS.NETCore.csproj | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj b/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj index bd9d2395f8..440cff5d82 100644 --- a/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj +++ b/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj @@ -12,6 +12,12 @@ <NoStdLib>true</NoStdLib> <NoCompilerStandardLib>true</NoCompilerStandardLib> <UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey> + + <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two properties to any folder that exists to skip + the GenerateReferenceAssemblyPaths task (not target) and to prevent it from outputting a warning (MSB3644). --> + <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation</_TargetFrameworkDirectories> + <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths> + </PropertyGroup> <!-- Default configurations to help VS understand the options --> @@ -26,8 +32,7 @@ </PropertyGroup> <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'"> - <DebugSymbols>false</DebugSymbols> - <DebugType>none</DebugType> + <DebugType>portable</DebugType> </PropertyGroup> <ItemGroup> @@ -48,7 +53,6 @@ </Copy> <Copy - Condition="'$(OsEnvironment)' != 'Unix'" SourceFiles="$(OutputPath)$(AssemblyName).pdb" DestinationFolder="$(BinDir)\PDB" SkipUnchangedFiles="false" |