Skip to content

Commit aab205b

Browse files
committed
Fixed standard template dll load error
Fixed Xbox builds
1 parent 70a5de7 commit aab205b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Bannerlord.Module.CSharp/BLNamespace.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<TargetFramework>net6</TargetFramework>
1111
<!--#endif -->
1212
<Platforms>x64</Platforms>
13+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1314
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
1415
<Nullable Condition="'$(nullable)' != ''">enable</Nullable>
1516
<BuildForWindows>false</BuildForWindows>
@@ -30,8 +31,7 @@
3031
<!--#endif -->
3132
<!--#if (gameWindowsStore) -->
3233
<PropertyGroup Condition="$(TargetFramework) == 'net6'">
33-
<BuildForWindowsStore>false</BuildForWindowsStore>
34-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
34+
<BuildForWindowsStore>true</BuildForWindowsStore>
3535
<EnableWindowsTargeting>true</EnableWindowsTargeting>
3636
</PropertyGroup>
3737
<!--#endif -->

src/Bannerlord.Module.CSharp/_Module/SubModule.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
<!--#endif -->
9393
<SubModule>
9494
<Name value="$modulename$" />
95-
<DLLName value="$modulename$.dll" />
96-
<SubModuleClassType value="$modulename$.SubModule" />
95+
<DLLName value="$moduleid$.dll" />
96+
<SubModuleClassType value="$moduleid$.SubModule" />
9797
<Tags />
9898
</SubModule>
9999
</SubModules>

src/Bannerlord.Module.Sdk.CSharp/BLNamespace.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<TargetFramework>net6</TargetFramework>
1111
<!--#endif -->
1212
<Platforms>x64</Platforms>
13+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1314
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
1415
<Nullable Condition="'$(nullable)' != ''">enable</Nullable>
1516

@@ -33,8 +34,7 @@
3334
<!--#if (gameWindowsStore) -->
3435
<PropertyGroup Condition="$(TargetFramework) == 'net6'">
3536
<!-- Xbox Game Pass PC version of the game -->
36-
<BuildForWindowsStore>false</BuildForWindowsStore>
37-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
37+
<BuildForWindowsStore>true</BuildForWindowsStore>
3838
<EnableWindowsTargeting>true</EnableWindowsTargeting>
3939
</PropertyGroup>
4040
<!--#endif -->

0 commit comments

Comments
 (0)