maui/dotnet-local.cmd

10 строки
315 B
Batchfile
Исходник Обычный вид История

@echo off
setlocal enabledelayedexpansion
SET ROOT=%~dp0
IF EXIST "%ROOT%\bin\dotnet\dotnet.exe" (
SET "DOTNET_ROOT=%ROOT%\bin\dotnet"
SET "PATH=!DOTNET_ROOT!;%PATH%"
call "%ROOT%\bin\dotnet\dotnet.exe" %*
) ELSE (
echo "You must build MAUI first. Please see '.github/DEVELOPMENT.md' for details."
)