Skip to content

Commit

Permalink
The game now uses .NET 6 instead of .NET Core 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Dec 23, 2023
1 parent d8616d9 commit b30b537
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Bannerlord.Module.CSharp/BLNamespace.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<PropertyGroup>
<Version>0.0.1</Version>
<!--#if (gameWindows && gameWindowsStore) -->
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net472;net6</TargetFrameworks>
<!--#elseif (gameWindows && !gameWindowsStore) -->
<TargetFramework>net472</TargetFramework>
<!--#elseif (!gameWindows && gameWindowsStore) -->
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6</TargetFramework>
<!--#endif -->
<Platforms>x64</Platforms>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
Expand All @@ -29,7 +29,7 @@
</PropertyGroup>
<!--#endif -->
<!--#if (gameWindowsStore) -->
<PropertyGroup Condition="$(TargetFramework) == 'netcoreapp3.1'">
<PropertyGroup Condition="$(TargetFramework) == 'net6'">
<BuildForWindowsStore>false</BuildForWindowsStore>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
Expand Down
6 changes: 3 additions & 3 deletions src/Bannerlord.Module.Sdk.CSharp/BLNamespace.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<PropertyGroup>
<Version>0.0.1</Version>
<!--#if (gameWindows && gameWindowsStore) -->
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net472;net6</TargetFrameworks>
<!--#elseif (gameWindows && !gameWindowsStore) -->
<TargetFramework>net472</TargetFramework>
<!--#elseif (!gameWindows && gameWindowsStore) -->
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6</TargetFramework>
<!--#endif -->
<Platforms>x64</Platforms>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
Expand All @@ -31,7 +31,7 @@
</PropertyGroup>
<!--#endif -->
<!--#if (gameWindowsStore) -->
<PropertyGroup Condition="$(TargetFramework) == 'netcoreapp3.1'">
<PropertyGroup Condition="$(TargetFramework) == 'net6'">
<!-- Xbox Game Pass PC version of the game -->
<BuildForWindowsStore>false</BuildForWindowsStore>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
Expand Down

0 comments on commit b30b537

Please sign in to comment.