Could "Build Tools for Visual Studio 2017" be installed to the VS 2017 image?

jeavon's Avatar


25 Apr, 2017 09:51 AM

Could you please add "Build Tools for Visual Studio 2017" to the VS2017 image?

It allows us to use the path "%programfiles(x86)%\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\amd64\MsBuild.exe" instead of the path having to be specific to the VS edition installed such as "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\amd64\MsBuild.exe" that we need to use currently

  1. Support Staff 1 Posted by Ilya Finkelshte... on 26 Apr, 2017 02:20 AM

    Ilya Finkelshteyn's Avatar

    We are hesitant to duplicate msbuild on a new image. Could you please describe your scenario with more details? Maybe we can come up with some simple workaround...

  2. 2 Posted by jeavon on 12 May, 2017 08:41 AM

    jeavon's Avatar

    All versions of MSBuild until v15 have had the same path regardless of what edition of VS is installed. MSBuild v15 varies path depending on the edition of VS installed which is annoying.

    For AppVeyor it's located at %programfiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\amd64\MsBuild.exe but on my machine it's %programfiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\MsBuild.exe

    If "Build Tools for Visual Studio 2017" are installed the location isn't related to the Visual Studio edition, in fact these tools are specifically created for build servers, so I can install these on my machine and know they are also on AppVeyor and any scripts etc will execute on both

  3. Support Staff 3 Posted by Feodor Fitsner on 15 May, 2017 03:09 AM

    Feodor Fitsner's Avatar

    Just found this:

    My first reaction was "wow". There are samples on how to use the tool: As I understand it could be downloaded from releases during the build:

    However, on AppVeyor environment (and you can use this locally too) I'd do something very simple like:

    $msbuildPath = $(cmd /c where msbuild)
  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:17 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac