From f279f1f54c85012a8c3bea07076bab7759b73304 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Fri, 30 Jun 2023 20:17:43 +0800 Subject: [PATCH] Removed previously required copying of dotnet binaries --- Dependencies.bat | 7 ------- SHADE_Engine/premake5.lua | 1 - 2 files changed, 8 deletions(-) diff --git a/Dependencies.bat b/Dependencies.bat index 5445a36a..416ea65c 100644 --- a/Dependencies.bat +++ b/Dependencies.bat @@ -137,14 +137,7 @@ if %_e%==13 (goto :done) else (goto :dotnet) echo -----------------------dotnet---------------------------- rmdir "Dependencies/dotnet" /S /Q mkdir "Dependencies/dotnet/include" -mkdir "Dependencies/dotnet/bin" powershell -Command "& {wget https://raw.githubusercontent.com/dotnet/runtime/main/src/coreclr/hosts/inc/coreclrhost.h -OutFile "Dependencies/dotnet/include/coreclrhost.h"}" -powershell -Command "& {wget https://download.visualstudio.microsoft.com/download/pr/8686fa48-b378-424e-908b-afbd66d6e120/2d75d5c3574fb5d917c5a3cd3f624287/dotnet-sdk-6.0.400-win-x64.zip -OutFile "Dependencies/dotnet/dotnet.zip"}" -powershell -Command "& {Expand-Archive -LiteralPath Dependencies/dotnet/dotnet.zip -DestinationPath Dependencies/dotnet/tmp}" -robocopy "Dependencies/dotnet/tmp/shared/Microsoft.NETCore.App/6.0.8/" "Dependencies/dotnet/bin/" *.dll /ns /nfl /ndl /nc /njh -rmdir "Dependencies/dotnet/tmp/" /s /q -del "Dependencies/dotnet/dotnet.zip" -powershell -Command "& {Remove-Item "Dependencies/dotnet/dotnet.zip"}" if %_e%==14 (goto :done) else (goto :tinyddsloader) diff --git a/SHADE_Engine/premake5.lua b/SHADE_Engine/premake5.lua index fbb8b19e..8b32960c 100644 --- a/SHADE_Engine/premake5.lua +++ b/SHADE_Engine/premake5.lua @@ -113,7 +113,6 @@ project "SHADE_Engine" { "xcopy /s /r /y /q \"%{IncludeDir.spdlog}\\bin\" \"$(OutDir)\"", "xcopy /r /y /q \"%{IncludeDir.SDL}\\lib\\SDL2.dll\" \"$(OutDir)\"", - "xcopy /s /r /y /q \"%{IncludeDir.dotnet}\\bin\" \"$(OutDir)\"" } filter "configurations:Debug"