为什么Visual Studio在TFS签入/签出后丢失了我的库映射?

时间:2015-08-27 03:36:34

标签: visual-studio tfs

我已经在一台机器上构建了一段时间的应用程序,最后进行了TFS登记。

旋转另一个,一个新工作区并执行签出,解决方案不再编译,在整个解决方案的各种项目中,引用已丢失,错误/警告如下所示:

The type or namespace name 'OData' does not exist in the namespace 'System.Web.Http' (are you missing an assembly reference?)
Could not resolve this reference. Could not locate the assembly "EntityFramework".

另外

    Warning 1   The "EnsureBindingRedirects" task could not be loaded from the assembly C:\TFS-WorkRepository\Project\Project Solution - v001\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.Tasks.dll.
 Could not load file or assembly 'file:///C:\TFS-WorkRepository\Project\Project Solution -
 v001\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.Tasks.dll' 
or one of its dependencies. The system cannot find the file specified. Confirm 
that the <UsingTask> declaration is correct, that the assembly and all its 
dependencies are available, and that the task contains a public class that 
implements Microsoft.Build.Framework.ITask. Project.AdminWebsite

我已经在解决方案上启用了Nuget包恢复,并在相应的common / lib文件夹中启用了其他导入的库/ DLL。

我猜测如果我为解决方案项目签入binobj文件夹,一切都会有效。然而,通常TFS用于代码,而不是DLL。

那么,我该如何解决这个问题?

谢谢。

0 个答案:

没有答案