1
我有一個建立在TFS中的ASP.NET MVC4項目。由於加入MiniProfiler的項目,這些版本失敗如下:如何獲得MVC4項目與MiniProfiler建立在TFS 2010?
CA0001 : The following error was encountered while reading module 'MiniProfiler':
Assembly reference cannot be resolved: System.Web.Mvc, Version=3.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35.
CA0058 : The referenced assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' could not be found. This assembly is required for
analysis and was referenced by: D:\Builds\...\my.dll,
D:\...\packages\MiniProfiler.2.0.2\lib\net40\MiniProfiler.dll.
DotPeek我表明MiniProfiler確實引用System.Web.Mvc版本3.0.0.0
有沒有人遇到這個問題?有解決方案嗎?
我會在構建服務器上安裝MVC3,但我沒有管理員權限來執行此操作。下週有人可以爲我做,但如果可能的話,我想避免這種情況。
[MVC MiniProfiler與ASP.NET MVC 4]可能的重複(http://stackoverflow.com/questions/8896029/mvc-miniprofiler-with-asp-net-mvc-4) –
不幸的是,我沒有認爲這是重複的。我的問題特別提到了在CI中建立而不是在本地建立。 – ItsJason
你正在建設意見? (MvcBuildViews設置爲true?) – Betty