Skip to content

Commit

Permalink
Explicitly target C# 10
Browse files Browse the repository at this point in the history
This avoid changing the ref safety escape rules so consuming project can still use C# 10, and 11 will still work.

Fixes #1
  • Loading branch information
MrJul committed Jul 9, 2023
1 parent d7103ea commit da89309
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion samples/GameMenu/GameMenu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<Nullable>enable</Nullable>
<LangVersion>11.0</LangVersion>
<AnalysisMode>Recommended</AnalysisMode>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<IsPackable>false</IsPackable>
Expand Down
1 change: 0 additions & 1 deletion samples/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<Nullable>enable</Nullable>
<LangVersion>11.0</LangVersion>
<AnalysisMode>Recommended</AnalysisMode>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<IsPackable>false</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion src/JLeb.Estragonia/JLeb.Estragonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>11.0</LangVersion>
<LangVersion>10.0</LangVersion>
<AnalysisMode>Recommended</AnalysisMode>
<IsPackable>true</IsPackable>
<PackageReadmeFile>readme.md</PackageReadmeFile>
Expand Down

0 comments on commit da89309

Please sign in to comment.