除了Visual Studio本身,我应该安装什么才能使Microsoft.Common.props出现在c:\ Program Files(x86)\ MSBuild \ 14.0 \下? [英] What should I install, except Visual Studio itself, for Microsoft.Common.props to appear under c:\Program Files (x86)\MSBuild\14.0\?

查看:225
本文介绍了除了Visual Studio本身,我应该安装什么才能使Microsoft.Common.props出现在c:\ Program Files(x86)\ MSBuild \ 14.0 \下?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的csproj文件导入Microsoft.Common.props,但是在我的构建服务器上不存在此文件.

My csproj files import Microsoft.Common.props, but this file does not exist on my build server.

构建服务器未安装Visual Studio 2015(我喜欢这种方式),但是我们确实安装了2015构建工具链.文件不存在.

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.

还缺少安装什么? Google似乎在这里很无助.

What else is missing to install? Google seems to be helpless here.

推荐答案

除了Visual Studio本身外,我应该安装什么工具才能使Microsoft.Common.props出现在c:\ Program Files(x86)\ MSBuild \ 14.0 \下?

What should I install, except Visual Studio itself, for Microsoft.Common.props to appear under c:\Program Files (x86)\MSBuild\14.0\?

AFAIK,如果需要导入文件Microsoft.Common.props,则必须安装Visual Studio 2015.或者,您可以只从安装了Visual Studio 2015的计算机中复制此文件.

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.

如果您不想在生成服务器上安装Visual Studio 2015,我建议您可以将项目升级到Visual Studio 2017,然后可以使用

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:

最小的安装只有几百兆字节,但仍然包含对包括源代码控制在内的二十多种语言的基本代码编辑支持.大多数用户会想要安装更多.您可以添加一个或多个代表通用框架,语言和平台的工作量",而不是整个Visual Studio.

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.

检查更多信息 查看全文

相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆