问题
My csproj files import Microsoft.Common.props, but this file does not exist on my build server.
The build server does not have Visual Studio 2015 installed (and I like it this way), but we did install the 2015 build tool chain. The file is not there.
What else is missing to install? Google seems to be helpless here.
回答1:
What should I install, except Visual Studio itself, for Microsoft.Common.props to appear under c:\Program Files (x86)\MSBuild\14.0\?
AFAIK, you have to install the Visual Studio 2015, if you need the import file Microsoft.Common.props. Or you can just copy this file from the machine which have installed the Visual Studio 2015.
If you do not want to install the Visual Studio 2015 on your build server, I would like suggest you can upgrade your project to Visual Studio 2017, then you can use the Visual Studio Installer, which you can see new experience:
The smallest install is just a few hundred megabytes, yet still contains basic code editing support for more than twenty languages including source code control. Most users will want to install more. You can add one or more 'workloads' that represent common frameworks, languages, and platforms instead of entire Visual Studio.
Check more info Visual Studio 2017 version 15.0.
来源:https://stackoverflow.com/questions/52979250/what-should-i-install-except-visual-studio-itself-for-microsoft-common-props-t