Skip to content

Instantly share code, notes, and snippets.

@MelbourneDeveloper
Last active December 21, 2020 02:43
Show Gist options
  • Save MelbourneDeveloper/4b7f1c8626dcbb3b1537f8a04ca4cc31 to your computer and use it in GitHub Desktop.
Save MelbourneDeveloper/4b7f1c8626dcbb3b1537f8a04ca4cc31 to your computer and use it in GitHub Desktop.
Modern csproj Targeting .NET Standard
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
<LangVersion>9</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
<PackageReference Include="System.Linq.Async" Version="5.0.0" />
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="System.Text.Json" Version="5.0.0" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment