dcb411daee
Since moving the TFM to .NET Core we need to add some configuration to cross-compile a Windows executable from Linux.
19 lines
954 B
XML
19 lines
954 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<ProjectGuid>{EAFFF236-FA96-4A4D-BD23-0E51EF988277}</ProjectGuid>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net6.0-windows</TargetFramework>
|
|
<LangVersion>10</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
|
<SelfContained>False</SelfContained>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="Exists('$(SolutionDir)/../../../../bin/GodotSharp/Api/Debug/GodotSharp.dll') And ('$(GodotPlatform)' == 'windows' Or ('$(GodotPlatform)' == '' And '$(OS)' == 'Windows_NT'))">
|
|
<OutputPath>$(SolutionDir)/../../../../bin/GodotSharp/Tools</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>False</AppendRuntimeIdentifierToOutputPath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="EnvDTE" Version="17.8.37221" />
|
|
</ItemGroup>
|
|
</Project>
|