Visual Studio Team Services 中的 Git,Visual Studio 2012 项目 - 无法从构建部署 [英] Git in Visual Studio Team Services, Visual Studio 2012 Project - can't deploy from build

查看:20
本文介绍了Visual Studio Team Services 中的 Git,Visual Studio 2012 项目 - 无法从构建部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在 Git、Visual Studio 2012 Express 项目(更新 2)中正常提交和同步.

Can commit and sync fine in Git, Visual Studio 2012 Express project (update 2).

当我排队构建(团队服务 - 不清楚在构建解决方案"中输入什么内容时,我尝试了 .sln 文件、项目文件的完整路径

When I queue a build (Team Services - it is unclear what to enter in 'solution to build' I have tried the full path to .sln file, project file

典型错误(我尝试了很多值):

Typical Error (I've tried many values):

Exception Message: The project file 'C:Users
ickDocumentsVisual Studio 2012Projectsmyprojectmyproject.csproj' was not found. (type FileNotFoundException)
Exception Stack Trace:    at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
 TF270003: Failed to copy. Ensure the source directory C:ain exists and that you have the appropriate permissions.

到底是从哪里得到路径 'c:ain' 的?

Where on earth is it getting the path 'c:ain' from?

有什么想法可以让这个工作吗?

Any ideas how I can get this working?

推荐答案

根据 本指南:

在您的网络浏览器中打开您的团队项目.

Open your team project in your web browser.

浏览到解决方案,然后将路径复制到剪贴板,以便您可以将其粘贴到构建定义的构建解决方案"框中,如上所示.

Browse to the solution and then copy the path to your clipboard so that you can paste it into the Solution to build box of the build definition, shown above.

这篇关于Visual Studio Team Services 中的 Git,Visual Studio 2012 项目 - 无法从构建部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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