From e8600d48b5f7d006f61821f7db465658329de54d Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 6 Dec 2017 10:57:55 +0100 Subject: [PATCH] Use dotnet to build. --- Build.bat | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Build.bat b/Build.bat index 725716c..428b96a 100644 --- a/Build.bat +++ b/Build.bat @@ -1,11 +1 @@ -@rem nuget pack Unity.Wcf\Unity.Wcf.csproj -properties Configuration=Release -symbols -build -OutputDirectory bin %* - -@echo off - -for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do ( - set InstallDir=%%i -) - -if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" ( - "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" Unity.Wcf.sln /nologo /p:Configuration=Release /m /v:m %* -) +dotnet pack %*