forked from axodox/AxoCover
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.vs2017.bat
More file actions
21 lines (17 loc) · 786 Bytes
/
debug.vs2017.bat
File metadata and controls
21 lines (17 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@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" (
set msBuildExe="%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe"
)
@echo on
set VSToolsPath="%InstallDir%\MSBuild\Microsoft\VisualStudio\v15.0"
set EnableNuGetPackageRestore=true
call %msBuildExe% AxoCover.sln /t:clean /p:VSToolsPath=%VSToolsPath%
call %msBuildExe% AxoCover.sln /p:VSToolsPath=%VSToolsPath%
if exist AxoCover\bin\Debug\AxoCover.vsix (
"%InstallDir%\Common7\IDE\VSIXInstaller.exe" /u:"26901782-38e1-48d4-94e9-557d44db052e"
"%InstallDir%\Common7\IDE\VSIXInstaller.exe" AxoCover\bin\Debug\AxoCover.vsix
"%InstallDir%\Common7\IDE\devenv.exe"
)