GodotTools.ProjectEditor.csproj 1.1 KB

1234567891011121314151617181920212223
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <ProjectGuid>{A8CDAD94-C6D4-4B19-A7E7-76C53CC92984}</ProjectGuid>
  4. <TargetFramework>net472</TargetFramework>
  5. <LangVersion>7.2</LangVersion>
  6. </PropertyGroup>
  7. <ItemGroup>
  8. <PackageReference Include="Microsoft.Build" Version="16.5.0" />
  9. <PackageReference Include="Microsoft.Build.Runtime" Version="16.5.0" />
  10. </ItemGroup>
  11. <ItemGroup>
  12. <ProjectReference Include="..\GodotTools.Core\GodotTools.Core.csproj" />
  13. </ItemGroup>
  14. <PropertyGroup>
  15. <!--
  16. The 'Microsoft.Build.Runtime' package includes an mscorlib reference assembly in contentFiles.
  17. This causes our project build to fail. As a workaround, we remove {CandidateAssemblyFiles}
  18. from AssemblySearchPaths as described here: https://github.com/microsoft/msbuild/issues/3486.
  19. -->
  20. <AssemblySearchPaths>$([System.String]::Copy('$(AssemblySearchPaths)').Replace('{CandidateAssemblyFiles}', ''))</AssemblySearchPaths>
  21. <AssemblySearchPaths Condition=" '$(MSBuildRuntimeVersion)' != '' ">$(AssemblySearchPaths.Split(';'))</AssemblySearchPaths>
  22. </PropertyGroup>
  23. </Project>