2020-05-09 18:55:50 +00:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2017-10-02 21:24:00 +00:00
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ProjectGuid>{A8CDAD94-C6D4-4B19-A7E7-76C53CC92984}</ProjectGuid>
|
2020-05-09 18:55:50 +00:00
|
|
|
|
<TargetFramework>net472</TargetFramework>
|
|
|
|
|
<LangVersion>7.2</LangVersion>
|
2017-10-02 21:24:00 +00:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
2020-05-09 18:55:50 +00:00
|
|
|
|
<PackageReference Include="Microsoft.Build" Version="16.5.0" />
|
2020-05-10 20:56:35 +00:00
|
|
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
|
2017-10-02 21:24:00 +00:00
|
|
|
|
</ItemGroup>
|
2018-10-22 17:20:29 +00:00
|
|
|
|
<ItemGroup>
|
2020-05-09 18:55:50 +00:00
|
|
|
|
<ProjectReference Include="..\GodotTools.Core\GodotTools.Core.csproj" />
|
2018-10-22 17:20:29 +00:00
|
|
|
|
</ItemGroup>
|
2020-08-24 09:24:05 +00: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 20:56:35 +00:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="MSBuild.exe" CopyToOutputDirectory="Always" />
|
|
|
|
|
</ItemGroup>
|
2020-09-03 07:08:58 +00:00
|
|
|
|
<Target Name="CopyMSBuildStubWindows" AfterTargets="Build" Condition=" '$(GodotPlatform)' == 'windows' Or ( '$(GodotPlatform)' == '' And '$(OS)' == 'Windows_NT' ) ">
|
2020-08-24 09:24:05 +00: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 07:44:53 +00:00
|
|
|
|
</Project>
|