CSProj for SHADE_Scripting is now generated if a build is attempted without it existing

This commit is contained in:
Kah Wei 2022-09-15 09:11:02 +08:00
parent 57393ad7e4
commit 196ef93fed
1 changed files with 7 additions and 0 deletions

View File

@ -182,6 +182,13 @@ namespace SHADE
{
constexpr std::string_view BUILD_LOG_PATH = "../Build.log";
// Generate csproj file if it doesn't exist
static const std::filesystem::path CSPROJ_PATH = "../SHADE_Scripting.csproj";
if (!std::filesystem::exists(CSPROJ_PATH))
{
GenerateScriptsCsProjFile(CSPROJ_PATH);
}
// Prepare directory (delete useless files)
deleteFolder("net6.0");
deleteFolder("ref");