2
我有幾個可能相關的問題。.net:模塊System.Core版本3.5.0.0應引用
在我的ASP.NET MVC項目視圖首先,lambda表達式語法是這樣的:
<% =Html.TextBoxFor(x => x.Umi)%>
導致ReSharper的突出線和顯示消息:
Module 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' should be referenced
其次,使用Where
在同一視圖中的IEnumerable<T>
上的擴展方法會導致編譯錯誤,因爲無法找到擴展方法。
添加項目到System.Core程序導致此引用:
A reference to System.Core could not be added. This component is automatically referenced by the build system.
我認爲這東西是關係到該項目是作爲.NET 4項目創建的事實,但我不得不改變它的目標是3.5,而服務器沒有安裝4。
任何幫助?