Skip to content

Commit 7a5a5ed

Browse files
committed
C#: Fix building OpenVisualStudio executable
Since moving the TFM to .NET Core we need to add some configuration to cross-compile a Windows executable from Linux.
1 parent 9139c48 commit 7a5a5ed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/GodotTools.OpenVisualStudio.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
<TargetFramework>net6.0-windows</TargetFramework>
66
<LangVersion>10</LangVersion>
77
<Nullable>enable</Nullable>
8+
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
9+
<SelfContained>False</SelfContained>
810
</PropertyGroup>
911
<PropertyGroup Condition="Exists('$(SolutionDir)/../../../../bin/GodotSharp/Api/Debug/GodotSharp.dll') And ('$(GodotPlatform)' == 'windows' Or ('$(GodotPlatform)' == '' And '$(OS)' == 'Windows_NT'))">
1012
<OutputPath>$(SolutionDir)/../../../../bin/GodotSharp/Tools</OutputPath>
1113
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
14+
<AppendRuntimeIdentifierToOutputPath>False</AppendRuntimeIdentifierToOutputPath>
1215
</PropertyGroup>
1316
<ItemGroup>
1417
<PackageReference Include="EnvDTE" Version="17.8.37221" />

0 commit comments

Comments
 (0)