Skip to content

Commit

Permalink
[Build] Temporary workaround for .NET Core 3.0 new runtime identifier…
Browse files Browse the repository at this point in the history
… system (credits go to Solr for finding this fix)
  • Loading branch information
xen2 committed Oct 2, 2019
1 parent aa48bc6 commit 4a624c6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sources/engine/Xenko/Xenko.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
<Compile Include="..\..\shared\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<None Include="build\**\*.targets" PackagePath="build\" Pack="true" />
<None Include="build\**\*.props" PackagePath="build\" Pack="true" />
<None Include="build\**\*.targets" PackagePath="buildTransitive\" Pack="true" />
<None Include="build\**\*.props" PackagePath="buildTransitive\" Pack="true" />
<None Include="runtime.json" Pack="true" PackagePath="/">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
Expand Down
12 changes: 12 additions & 0 deletions sources/engine/Xenko/build/Xenko.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
*****************************************************************************************************************************
Runtime identifiers
*****************************************************************************************************************************
-->
<PropertyGroup>
<!-- Temporary workaround for https://github.com/NuGet/Home/issues/7351 (necessary since VS2019 includes .NET Core 3)
We need to figure out a better way to handle RID and solve this. -->
<RuntimeIdentifierGraphPath></RuntimeIdentifierGraphPath>
</PropertyGroup>
</Project>

0 comments on commit 4a624c6

Please sign in to comment.