发布失败构建成功

时间:2018-01-15 23:20:39

标签: c# asp.net asp.net-web-api visual-studio-2015

有人可以帮忙吗?

2>Build succeeded.
2>
2>Time Elapsed 00:00:00.18
3>------ Publish started: Project: WebApi, Configuration: Release Any CPU ------
3>Connecting to C:\Web\WebApi...
3>Project "WebApi.csproj" (GatherAllFilesToPublish target(s)):
3>    Building with tools version "14.0".
3>    Target "ValidateMSBuildToolsVersion" skipped. Previously built unsuccessfully.
3>Done building project "WebApi.csproj" -- FAILED.
3>
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

我试过了:
- 清洁/重建解决方案
- 将项目目标更改为x86,x64并返回到任意
- 从bin文件夹中删除文件
- 重新启动pc

我使用VS2015管理员权限。

0 个答案:

没有答案