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

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

问题描述

可以在Git,Visual Studio 2012 Express项目(更新2)中提交和同步。



当我排队一个构建(Team Services - 输入'solution to build'我已经尝试过完整路径到.sln文件,项目文件





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

 异常消息:项目文件'C:\Users 
ick \Documents\Visual Studio 2012 \Projects\myproject\myproject。 csproj'(类型FileNotFoundException)
异常堆栈跟踪:在System.Activities.Statements.Throw.Execute(CodeActivityContext上下文)
在System.Activities.CodeActivity.InternalExecute(ActivityInstance实例,ActivityExecutor执行器,BookmarkManager bookmarkManager)
在System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor执行器,BookmarkManager书签管理器,位置结果位置)
TF270003:无法复制。确保源目录C:\a\bin存在,并且具有适当的权限。

在哪里得到路径'c:\a\bin'from? / p>

任何想法如何让我的工作?

解决方案

根据本指南



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





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



>


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

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
ick\Documents\Visual Studio 2012\Projects\myproject\myproject.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:\a\bin exists and that you have the appropriate permissions.

Where on earth is it getting the path 'c:\a\bin' from?

Any ideas how I can get this working?

解决方案

As per this guide:

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天全站免登陆