Skip to content

Commit

Permalink
Depend on .NET Framework targeting pack nugets
Browse files Browse the repository at this point in the history
Depend on .NET Framework reference assemblies via the new nuget
packages. This allows us to build .NET Framework on systems where
.NET Framework isn't installed (e.g. Linux).
  • Loading branch information
roji committed May 20, 2019
1 parent f58b068 commit 0a804a8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project>

<!-- Reference .NET Framework reference assemblies, allows building on environments without .NET Framework installed
(e.g. Linux). Gets ignored on non-framework TFMs. -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.1" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit 0a804a8

Please sign in to comment.