Skip to content

Commit 9bc3453

Browse files
committed
Upgrade .NET projects to C# 8.0.
1 parent 70f237a commit 9bc3453

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<ActionDir>$(BuildDir)$(PremakeAction)\</ActionDir>
1717
<NativeProjectsDir>$(ActionDir)projects\</NativeProjectsDir>
1818
<TargetDir>$(OutputPath)</TargetDir>
19-
<LangVersion>7.3</LangVersion>
19+
<LangVersion>8.0</LangVersion>
2020
<WarningLevel>4</WarningLevel>
2121
<DotNetCmd>dotnet</DotNetCmd>
2222
<GeneratorFileExtension>dll</GeneratorFileExtension>

src/Runtime/CppSharp.Runtime.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3+
<LangVersion>7.3</LangVersion>
34
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
45
<TargetFramework>netstandard2.0</TargetFramework>
56
<PlatformTarget>AnyCPU</PlatformTarget>

0 commit comments

Comments
 (0)