Skip to content

Commit

Permalink
Fixed standard template dll load error
Browse files Browse the repository at this point in the history
Fixed Xbox builds
  • Loading branch information
Aragas committed Oct 8, 2024
1 parent 70a5de7 commit aab205b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Bannerlord.Module.CSharp/BLNamespace.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<TargetFramework>net6</TargetFramework>
<!--#endif -->
<Platforms>x64</Platforms>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
<Nullable Condition="'$(nullable)' != ''">enable</Nullable>
<BuildForWindows>false</BuildForWindows>
Expand All @@ -30,8 +31,7 @@
<!--#endif -->
<!--#if (gameWindowsStore) -->
<PropertyGroup Condition="$(TargetFramework) == 'net6'">
<BuildForWindowsStore>false</BuildForWindowsStore>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<BuildForWindowsStore>true</BuildForWindowsStore>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<!--#endif -->
Expand Down
4 changes: 2 additions & 2 deletions src/Bannerlord.Module.CSharp/_Module/SubModule.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
<!--#endif -->
<SubModule>
<Name value="$modulename$" />
<DLLName value="$modulename$.dll" />
<SubModuleClassType value="$modulename$.SubModule" />
<DLLName value="$moduleid$.dll" />
<SubModuleClassType value="$moduleid$.SubModule" />
<Tags />
</SubModule>
</SubModules>
Expand Down
4 changes: 2 additions & 2 deletions src/Bannerlord.Module.Sdk.CSharp/BLNamespace.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<TargetFramework>net6</TargetFramework>
<!--#endif -->
<Platforms>x64</Platforms>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
<Nullable Condition="'$(nullable)' != ''">enable</Nullable>

Expand All @@ -33,8 +34,7 @@
<!--#if (gameWindowsStore) -->
<PropertyGroup Condition="$(TargetFramework) == 'net6'">
<!-- Xbox Game Pass PC version of the game -->
<BuildForWindowsStore>false</BuildForWindowsStore>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<BuildForWindowsStore>true</BuildForWindowsStore>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<!--#endif -->
Expand Down

0 comments on commit aab205b

Please sign in to comment.