我們目前正在將VS2010作爲測試驅動器,到目前爲止,我們對於它將不會與我們現有的Team Foundation Server 2008進行合作有點困惑。 我們仍然有我們所有關於.NET 3.5的項目以及無論何時我們正在構建包含單元測試項目(自動構建.NET 4.0)的解決方案時,TFS都無法構建它。Visual Studio 2010和TFS 2008:構建單元測試項目
的.NET 4.0框架安裝在TFS 2008
我們收到的錯誤是:
[Any CPU/Release] c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(0,0): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
作爲臨時解決辦法,我們現在不得不刪除了所有的測試項目,以便我們的解決方案構建。
是安裝VS2010中端唯一的解決辦法? – CraftyFella 2010-05-10 11:41:28
我發佈了這個問題,希望找到其他的解決方案,但你可以看到...似乎沒有任何。 至少我們還沒有找到。我們發現VS2008也安裝在buildserver上,現在我們知道爲什麼了;) – Peter 2010-05-10 12:45:17