Skip to content

Commit 1b1e4ae

Browse files
Prepare for NServiceBus 10 - Set LangVersion (#1779)
* Add LangVersion=preview to Custom.Build.props * Change LangVersion for VBTestCode.vbproj The compiler does not support using "preview" for LangVersion in VB projects. --------- Co-authored-by: Ryan Thomas <[email protected]>
1 parent 1e4770e commit 1b1e4ae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Custom.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<MinVerMinimumMajorMinor>9.0</MinVerMinimumMajorMinor>
55
<MinVerAutoIncrement>minor</MinVerAutoIncrement>
6+
<LangVersion>preview</LangVersion>
67
</PropertyGroup>
78

89
<!-- MSBuild tasks require a .NET Framework version to work in Visual Studo, so we have to multi-target. -->

src/VBTestCode/VBTestCode.vbproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
5+
<LangVersion>latest</LangVersion>
56
<SignAssembly>true</SignAssembly>
67
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
78
</PropertyGroup>

0 commit comments

Comments
 (0)