Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Commit

Permalink
Use dotnet to build.
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Dec 6, 2017
1 parent e7d5262 commit e8600d4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Build.bat
Original file line number Diff line number Diff line change
@@ -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 %*

0 comments on commit e8600d4

Please sign in to comment.