Files
UVtools/build/CompileWindows.bat
T
Tiago Conceição a8deeae0f5 v2.27.2
- **(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
2021-12-23 23:53:24 +00:00

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