在检查SLN更名为TFS [英] Checking in Renamed SLN to TFS

查看:196
本文介绍了在检查SLN更名为TFS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我改名通过TFS解决方案文件,并试图检查在code,我不断收到此错误。我最好的猜测是,构建不承认该解决方案的名称改变,不断寻找旧名称。

I renamed the solution file through TFS and tried checking the code in. I keep getting this error. My best guess is that the build does not recognize that the name of the solution changed, and keeps looking for the old name.

异常消息:文件(使用oldName)的.sln找不到。 (类型FileNotFoundException异常)
异常堆栈跟踪:在System.Activities.Statements.Throw.Execute(codeActivityContext上下文)
   在System.Activities。codeActivity.InternalExecute(ActivityInstance例如,ActivityExecutor执行人,BookmarkManager bookmarkManager)
   在System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor执行人,BookmarkManager bookmarkManager,位置resultLocation)

Exception Message: The file (oldName).sln could not be 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)

我如何构建以接受新的SLN文件?在这个问题的解决任何援助将大大AP preciated。

How do I get the build to accept the new sln file? Any assistance in the resolution of this issue would be greatly appreciated.

推荐答案

编辑生成定义,转到进程选项卡,并在解决方案,建立属性更新您的解决方案的名称。

Edit the build definition, go to the process tab, and in the solutions to build property update the name of your solution.

这篇关于在检查SLN更名为TFS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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