summaryrefslogtreecommitdiff
path: root/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolBox/SOS/NETCore/SOS.NETCore.csproj')
-rw-r--r--src/ToolBox/SOS/NETCore/SOS.NETCore.csproj27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj b/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj
index 440cff5d82..c579b59dc0 100644
--- a/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj
+++ b/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj
@@ -11,13 +11,15 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<NoStdLib>true</NoStdLib>
<NoCompilerStandardLib>true</NoCompilerStandardLib>
- <UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
+ <IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly>
+ <AssemblyKey>Open</AssemblyKey>
+ <ExcludeMscorlibFacade>true</ExcludeMscorlibFacade>
+ <ContainsPackageReferences>true</ContainsPackageReferences>
<!-- 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 -->
@@ -39,8 +41,25 @@
<Compile Include="SymbolReader.cs" />
</ItemGroup>
+ <PropertyGroup>
+ <TargetFramework>netcoreapp1.0</TargetFramework>
+ <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
+ <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8</PackageTargetFallback>
+ </PropertyGroup>
+
<ItemGroup>
- <None Include="project.json" />
+ <PackageReference Include="Microsoft.NETCore.Platforms">
+ <Version>$(RuntimeIdGraphDefinitionVersion)</Version>
+ </PackageReference>
+ <PackageReference Include="System.IO.FileSystem">
+ <Version>4.0.1</Version>
+ </PackageReference>
+ <PackageReference Include="System.Runtime.InteropServices">
+ <Version>4.1.0</Version>
+ </PackageReference>
+ <PackageReference Include="System.Reflection.Metadata">
+ <Version>1.4.1</Version>
+ </PackageReference>
</ItemGroup>
<Target Name="CopyItemsToDirectory" AfterTargets="Build">
@@ -52,7 +71,7 @@
UseHardlinksIfPossible="false">
</Copy>
- <Copy
+ <Copy
SourceFiles="$(OutputPath)$(AssemblyName).pdb"
DestinationFolder="$(BinDir)\PDB"
SkipUnchangedFiles="false"