Add .Net Runtime deployment for cooked game

This commit is contained in:
2023-03-13 10:23:42 +01:00
parent e83b8afdd3
commit e00bf92f05
14 changed files with 186 additions and 50 deletions
@@ -180,7 +180,7 @@ namespace Flax.Deps.Dependencies
{
Utilities.FileCopy(Path.Combine(srcHostRuntime, file), Path.Combine(dstBinaries, file));
}
var dstDotnet = Path.Combine(dstBinaries, "Dotnet");
var dstDotnet = Path.Combine(GetBinariesFolder(options, targetPlatform), "Dotnet");
var dstClassLibrary = Path.Combine(dstDotnet, "shared", "Microsoft.NETCore.App", version);
SetupDirectory(dstClassLibrary, true);
foreach (var file in new[]