mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-12 19:42:32 +02:00
a8deeae0f5
- **(Core) Layer:** - (Add) Property: IsFirstLayer - Gets if is the first layer - (Add) Property: IsIntermediateLayer - Gets if layer is between first and last layer, aka, not first nor last layer - (Add) Property: IsLastLayer - Gets if is the last layer - (Rename) Property: RelativeLayerHeight to RelativePositionZ - **VDT:** - (Add) Keyword 'FILEFORMAT_xxx' to allow set the file format to auto convertion on machine notes - (Add) Keyword 'FILEVERSION_n' to allow set the file format version/revision on machine notes
24 lines
1.0 KiB
Batchfile
24 lines
1.0 KiB
Batchfile
@echo off
|
|
SET DIR=%~dp0
|
|
cd ..
|
|
|
|
REM if exist "%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" SET MSBUILD_PATH="%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
|
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" SET MSBUILD_PATH="%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"
|
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" SET MSBUILD_PATH="%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
|
|
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" SET MSBUILD_PATH="%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe"
|
|
|
|
IF [%MSBUILD_PATH%] == [] GOTO noMSBuild
|
|
|
|
echo UVtools.sln Compile
|
|
echo %MSBUILD_PATH%
|
|
%MSBUILD_PATH% -p:Configuration=Release UVtools.sln
|
|
GOTO end
|
|
|
|
|
|
:noMSBuild
|
|
echo MSBuild.exe path not found! trying 'dotnet' instead
|
|
dotnet build
|
|
|
|
:end
|
|
pause
|