首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MSBuildCommunityTasks文件夹丢失

MSBuildCommunityTasks文件夹丢失
EN

Stack Overflow用户
提问于 2018-12-03 22:04:05
回答 1查看 2.2K关注 0票数 0

asp.net C# web解决方案的新管理

当我针对项目运行msbuild时,会得到一个错误:

代码语言:javascript
复制
 error MSB4226: The imported project "C:\
Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.Target
s" was not found. Also, tried to find "MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" in the fallback search pa
th(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program F
iles (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe.Config". Confirm that the path in the <I
mport> declaration is correct, and that the file exists on disk in one of the search paths.

项目文件前三行代码:

代码语言:javascript
复制
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Package" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />

我在运行MS Community2017。我读到MSBuild是作为安装的一部分包括在内的。我不太了解这是什么;社区任务与msbuild不同吗?它不是附带的吗?我是否需要下载与VS2017一起安装的msbuild?

我们非常感谢你的帮助-

Thx,

博伊德

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-12-04 03:27:47

MSBuild社区任务是一个单独的设置:https://github.com/loresoft/msbuildtasks

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53602629

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档