Updated projects to use .NET 6.0
This commit is contained in:
parent
95c3609d21
commit
57393ad7e4
|
@ -126,7 +126,7 @@ namespace SHADE
|
||||||
throwIfFailed("[DotNetRuntime] Failed to initialize CoreCLR.", result);
|
throwIfFailed("[DotNetRuntime] Failed to initialize CoreCLR.", result);
|
||||||
|
|
||||||
initialised = true;
|
initialised = true;
|
||||||
SHLOG_INFO("[DotNetRuntime] Successfully loaded the .NET 5.0 Runtime.");
|
SHLOG_INFO("[DotNetRuntime] Successfully loaded the .NET 6.0 Runtime.");
|
||||||
}
|
}
|
||||||
|
|
||||||
void SHDotNetRuntime::Exit()
|
void SHDotNetRuntime::Exit()
|
||||||
|
@ -144,7 +144,7 @@ namespace SHADE
|
||||||
domainId = 0;
|
domainId = 0;
|
||||||
initialised = false;
|
initialised = false;
|
||||||
|
|
||||||
SHLOG_INFO("[DotNetRuntime] Successfully shut down the .NET 5.0 Runtime.");
|
SHLOG_INFO("[DotNetRuntime] Successfully shut down the .NET 6.0 Runtime.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------*/
|
||||||
|
|
|
@ -183,7 +183,7 @@ namespace SHADE
|
||||||
constexpr std::string_view BUILD_LOG_PATH = "../Build.log";
|
constexpr std::string_view BUILD_LOG_PATH = "../Build.log";
|
||||||
|
|
||||||
// Prepare directory (delete useless files)
|
// Prepare directory (delete useless files)
|
||||||
deleteFolder("net5.0");
|
deleteFolder("net6.0");
|
||||||
deleteFolder("ref");
|
deleteFolder("ref");
|
||||||
deleteFolder("../SHADE_Scripting");
|
deleteFolder("../SHADE_Scripting");
|
||||||
deleteFolder("../obj");
|
deleteFolder("../obj");
|
||||||
|
@ -229,7 +229,7 @@ namespace SHADE
|
||||||
static std::string_view FILE_CONTENTS =
|
static std::string_view FILE_CONTENTS =
|
||||||
"<Project Sdk=\"Microsoft.NET.Sdk\">\n\
|
"<Project Sdk=\"Microsoft.NET.Sdk\">\n\
|
||||||
<PropertyGroup>\n\
|
<PropertyGroup>\n\
|
||||||
<TargetFramework>net5.0</TargetFramework>\n\
|
<TargetFramework>net6.0</TargetFramework>\n\
|
||||||
<Platforms>x64</Platforms>\n\
|
<Platforms>x64</Platforms>\n\
|
||||||
<Configurations>Release;Debug</Configurations>\n\
|
<Configurations>Release;Debug</Configurations>\n\
|
||||||
</PropertyGroup>\n\
|
</PropertyGroup>\n\
|
||||||
|
|
|
@ -2,7 +2,7 @@ project "SHADE_Managed"
|
||||||
kind "SharedLib"
|
kind "SharedLib"
|
||||||
language "C++"
|
language "C++"
|
||||||
clr "NetCore"
|
clr "NetCore"
|
||||||
dotnetframework "net5.0"
|
dotnetframework "net6.0"
|
||||||
cppdialect "C++17"
|
cppdialect "C++17"
|
||||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||||
|
|
Loading…
Reference in New Issue