Skip to content

Commit

Permalink
Fix build issues when only VS 2017 is installed
Browse files Browse the repository at this point in the history
NOTE: This makes VS 2017 required to build going forward.
  • Loading branch information
mscrivo committed Apr 9, 2017
1 parent 02e7577 commit ce9ade3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions OutlookDesktop/OutlookDesktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,10 @@
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>IF EXIST "%25VS150COMNTOOLS%25" CALL "%25VS150COMNTOOLS%25vsvars32.bat"

IF EXIST "%25VS140COMNTOOLS%25" CALL "%25VS140COMNTOOLS%25vsvars32.bat"

IF EXIST "%25VS120COMNTOOLS%25" CALL "%25VS120COMNTOOLS%25vsvars32.bat"

<PostBuildEvent>IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\SDK\ScopeCppSDK\VC\bin\editbin.exe" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\SDK\ScopeCppSDK\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"

call "editbin.exe" /NXCOMPAT:NO "$(TargetPath)"</PostBuildEvent>
IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\SDK\ScopeCppSDK\VC\bin\editbin.exe" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\SDK\ScopeCppSDK\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"

IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\SDK\ScopeCppSDK\VC\bin\editbin.exe" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\SDK\ScopeCppSDK\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"</PostBuildEvent>
</PropertyGroup>
</Project>

0 comments on commit ce9ade3

Please sign in to comment.