Skip to content

Commit 0a804a8

Browse files
committed
Depend on .NET Framework targeting pack nugets
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).
1 parent f58b068 commit 0a804a8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
3+
<!-- Reference .NET Framework reference assemblies, allows building on environments without .NET Framework installed
4+
(e.g. Linux). Gets ignored on non-framework TFMs. -->
5+
<ItemGroup>
6+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.1" PrivateAssets="All" />
7+
</ItemGroup>
8+
9+
</Project>

0 commit comments

Comments
 (0)