Skip to content

Commit 7a3acf9

Browse files
authored
Merge pull request #1377 from microsoft/renovate/dotnet-monorepo
Update dotnet monorepo to 4.13.0
2 parents 452c281 + b1b54be commit 7a3acf9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Directory.Packages.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<WDKMetadataVersion>0.12.8-experimental</WDKMetadataVersion>
1111
<!-- <DiaMetadataVersion>0.2.185-preview-g7e1e6a442c</DiaMetadataVersion> -->
1212
<ApiDocsVersion>0.1.42-alpha</ApiDocsVersion>
13-
<CodeAnalysisVersion>4.12.0</CodeAnalysisVersion>
13+
<CodeAnalysisVersion>4.13.0</CodeAnalysisVersion>
1414
</PropertyGroup>
1515
<ItemGroup>
1616
<!-- We have to use the MessagePack version used by win32metadata (https://github.com/microsoft/CsWin32/issues/371) -->

docfx/docs/getting-started.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ WPF projects have [additional requirements](https://github.com/microsoft/CsWin32
99
This source generator generates code compatible with .NET Framework, .NET Standard 2.0, and .NET, as applicable to the project that uses it.
1010
.NET Framework 4.7.2 is the oldest target framework that is officially supported, but community contributions have made a subset of the generated code work in .NET Framework 3.5 projects.
1111

12-
When targeting .NET Standard or .NET Framework, it is necessary to explicitly update the C# language version to at _least_ C# 9+ (`<LangVersion>9</LangVersion>` in your project file). See [issue #4](https://github.com/microsoft/CsWin32/issues/4) for more on this.
13-
Newer is generally better. Use the latest C# language version for the best results, regardless of your TargetFramework.
12+
When targeting .NET Standard or .NET Framework, it is necessary to explicitly update the C# language version to at _least_ C# 9+ (`<LangVersion>9</LangVersion>` in your project file).
13+
C# 11 is sometimes required depending on the code being generated.
14+
See [issue #4](https://github.com/microsoft/CsWin32/issues/4) for more on this.
15+
Newer is generally better.
16+
Use the latest C# language version for the best results, regardless of your TargetFramework.
1417

1518
## Installation
1619

test/Microsoft.Windows.CsWin32.Tests/InlineArrayTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public void FixedLengthInlineArray(
1616
[CombinatorialValues(/*char*/"RM_PROCESS_INFO", /*custom unmanaged*/"ARRAYDESC")] string api)
1717
{
1818
this.compilation = this.starterCompilations[tfm];
19-
this.parseOptions = this.parseOptions.WithLanguageVersion(GetLanguageVersionForTfm(tfm) ?? LanguageVersion.CSharp9);
2019
this.generator = this.CreateGenerator(new GeneratorOptions { AllowMarshaling = allowMarshaling, MultiTargetingFriendlyAPIs = multitargetingAPIs });
2120

2221
// TODO we need to test

0 commit comments

Comments
 (0)