2020-05-09 20:55:50 +02:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2017-10-02 23:24:00 +02:00
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ProjectGuid>{A8CDAD94-C6D4-4B19-A7E7-76C53CC92984}</ProjectGuid>
|
2020-05-09 20:55:50 +02:00
|
|
|
|
<TargetFramework>net472</TargetFramework>
|
|
|
|
|
<LangVersion>7.2</LangVersion>
|
2017-10-02 23:24:00 +02:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
2020-05-09 20:55:50 +02:00
|
|
|
|
<PackageReference Include="Microsoft.Build" Version="16.5.0" />
|
2020-05-10 22:56:35 +02:00
|
|
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
|
2017-10-02 23:24:00 +02:00
|
|
|
|
</ItemGroup>
|
2018-10-22 19:20:29 +02:00
|
|
|
|
<ItemGroup>
|
2020-05-09 20:55:50 +02:00
|
|
|
|
<ProjectReference Include="..\GodotTools.Core\GodotTools.Core.csproj" />
|
2018-10-22 19:20:29 +02:00
|
|
|
|
</ItemGroup>
|
2020-08-24 11:24:05 +02:00
|
|
|
|
<!--
|
|
|
|
|
The Microsoft.Build.Runtime package is too problematic so we create a MSBuild.exe stub. The workaround described
|
|
|
|
|
here doesn't work with Microsoft.NETFramework.ReferenceAssemblies: https://github.com/microsoft/msbuild/issues/3486
|
|
|
|
|
We need a MSBuild.exe file as there's an issue in Microsoft.Build where it executes platform dependent code when
|
|
|
|
|
searching for MSBuild.exe before the fallback to not using it. A stub is fine as it should never be executed.
|
|
|
|
|
-->
|
2020-05-10 22:56:35 +02:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="MSBuild.exe" CopyToOutputDirectory="Always" />
|
|
|
|
|
</ItemGroup>
|
2020-09-03 09:08:58 +02:00
|
|
|
|
<Target Name="CopyMSBuildStubWindows" AfterTargets="Build" Condition=" '$(GodotPlatform)' == 'windows' Or ( '$(GodotPlatform)' == '' And '$(OS)' == 'Windows_NT' ) ">
|
2020-08-24 11:24:05 +02:00
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<GodotSourceRootPath>$(SolutionDir)/../../../../</GodotSourceRootPath>
|
|
|
|
|
<GodotOutputDataDir>$(GodotSourceRootPath)/bin/GodotSharp</GodotOutputDataDir>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<!-- Need to copy it here as well on Windows -->
|
|
|
|
|
<Copy SourceFiles="MSBuild.exe" DestinationFiles="$(GodotOutputDataDir)\Mono\lib\mono\v4.0\MSBuild.exe" />
|
|
|
|
|
</Target>
|
2019-07-03 09:44:53 +02:00
|
|
|
|
</Project>
|