Skip to content

Commit 8ab3e35

Browse files
authored
Update readme.md
1 parent f8f4240 commit 8ab3e35

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

readme.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,21 @@ namespace Sample
3434

3535
[![NuGet](https://img.shields.io/nuget/v/StringLiteralGenerator?style=flat-square)](https://www.nuget.org/packages/StringLiteralGenerator)
3636

37+
```xml
38+
<Project Sdk="Microsoft.NET.Sdk">
39+
40+
<PropertyGroup>
41+
<OutputType>Exe</OutputType>
42+
<TargetFramework>net5.0</TargetFramework>
43+
</PropertyGroup>
44+
45+
<ItemGroup>
46+
<PackageReference Include="StringLiteralGenerator" Version="1.0.0" />
47+
</ItemGroup>
48+
49+
</Project>
50+
```
51+
3752
For versions earlier than .NET 5 SDK RC2 you may also need to add a reference to `Microsoft.Net.Compilers.Toolset`.
3853
So the `csproj` may look like this:
3954
```xml

0 commit comments

Comments
 (0)