BuildTools: Update scripts
This commit is contained in:
@@ -18,8 +18,8 @@ if exist "%VSINSTALLPATH%\VC\Auxiliary\Build\vcvarsall.bat" (
|
||||
)
|
||||
|
||||
:: Pre-cleanup (required since dotnet doesn't cleanup)
|
||||
if exist "tools\CustomBuildTool\bin\Release\net7.0-x64" (
|
||||
rmdir /S /Q "tools\CustomBuildTool\bin\Release\net7.0-x64"
|
||||
if exist "tools\CustomBuildTool\bin\Release\net8.0-x64" (
|
||||
rmdir /S /Q "tools\CustomBuildTool\bin\Release\net8.0-x64"
|
||||
)
|
||||
if exist "tools\CustomBuildTool\bin\Debug" (
|
||||
rmdir /S /Q "tools\CustomBuildTool\bin\Debug"
|
||||
@@ -34,8 +34,8 @@ if exist "tools\CustomBuildTool\obj" (
|
||||
dotnet publish tools\CustomBuildTool\CustomBuildTool.sln -c Release /p:PublishProfile=Properties\PublishProfiles\64bit.pubxml /p:ContinuousIntegrationBuild=true
|
||||
|
||||
:: Post-cleanup (optional)
|
||||
if exist "tools\CustomBuildTool\bin\Release\net7.0-x64" (
|
||||
rmdir /S /Q "tools\CustomBuildTool\bin\Release\net7.0-x64"
|
||||
if exist "tools\CustomBuildTool\bin\Release\net8.0-x64" (
|
||||
rmdir /S /Q "tools\CustomBuildTool\bin\Release\net8.0-x64"
|
||||
)
|
||||
if exist "tools\CustomBuildTool\bin\Debug" (
|
||||
rmdir /S /Q "tools\CustomBuildTool\bin\Debug"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
<CodePage>65001</CodePage>
|
||||
<ProjectGuid>{CD644DF2-A658-4CBC-9497-CA5DD13CFEC3}</ProjectGuid>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
<PublishAot>true</PublishAot>
|
||||
<!--<TrimmerSingleWarn>false</TrimmerSingleWarn>-->
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<DebugType>full</DebugType>
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TrimUnusedDependencies>true</TrimUnusedDependencies>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user