Skip to content

Commit

Permalink
Refresh the Prerequisites section of the README
Browse files Browse the repository at this point in the history
Fixes #1283
  • Loading branch information
AArnott committed Sep 13, 2024
1 parent 82715d6 commit 99ddd31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

## Prerequisites

The .NET 5 SDK or Visual Studio 2019 Update 8 (16.8) for the C# compiler that added support for Source Generators.
The experience with source generators in Visual Studio is still improving, and is noticeably better in VS 16.9. WPF projects have [additional requirements](https://github.com/microsoft/CsWin32/issues/7).
The .NET 6 SDK or Visual Studio 2019 Update 11 (16.11).

In addition, some generated code may require use of the C# 9 language version (`<LangVersion>9</LangVersion>`) in your project file. See [issue #4](https://github.com/microsoft/CsWin32/issues/4) for more on this.
WPF projects have [additional requirements](https://github.com/microsoft/CsWin32/issues/7).

See [dotnet/pinvoke](https://github.com/dotnet/pinvoke) for precompiled NuGet packages with Win32 P/Invokes.
In addition, some generated code may require use of the C# 9+ language version (`<LangVersion>9</LangVersion>`) in your project file. See [issue #4](https://github.com/microsoft/CsWin32/issues/4) for more on this.
Newer is generally better. Use the latest C# language version for the best results, regardless of your TargetFramework.

## Usage

Expand Down

0 comments on commit 99ddd31

Please sign in to comment.