build(battleengine): pin LangVersion 12.0 (was 'latest') so C# 14's 'field' keyword doesn't break the decompiled engine under newer SDKs
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
<!-- Match the engine: decompiled types are not nullable-clean and use explicit usings. -->
|
||||
<Nullable>disable</Nullable>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<!-- Pinned to 12.0 (net8.0 default) to match SVSim.BattleEngine; see the rationale there
|
||||
(the vendored decompiled engine breaks under C# 14's 'field' contextual keyword). -->
|
||||
<LangVersion>12.0</LangVersion>
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user