From 957593287c051b20772e044e7e2acaa122decfe6 Mon Sep 17 00:00:00 2001 From: Mary Date: Sat, 7 May 2022 19:17:09 +0200 Subject: [PATCH] README: Fix Newer metadata section commandline should have been ``--prerelease``, ``-pre`` is not a valid argument. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a613c13..18744564 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ To keep CsWin32 generating the referred types you need, add them explicitly to ` To update the metadata used as the source for code generation, you may install a newer `Microsoft.Windows.SDK.Win32Metadata` package: ```ps1 -dotnet add package Microsoft.Windows.SDK.Win32Metadata -pre +dotnet add package Microsoft.Windows.SDK.Win32Metadata --prerelease ``` Alternatively, you may set the `MicrosoftWindowsSdkWin32MetadataBasePath` property in your project file to the path of the directory containing `Windows.Win32.winmd`: