1

我正在尝试使用 Visual Studio 2010 Ultimate 打开一个 VS 2010 项目。该项目处于源代码控制 (TFS) 之下,我想从本地文件夹中打开它。打开后,我得到一个错误:

The Project is under Source Control. This Version of Visual studio .net does 
not support source controlled projects. Any changes that you make to this project 
will not be propagated to source code.

然后是一条消息

Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Package 'Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed to load.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

然后解决方案显示为不可用的项目。我不认为这可能是版本问题,因为我使用的是 VS Ultimate。已经有一个关于这个问题的问题,但我无法做出很多答案

4

0 回答 0