![](/img/trans.png)
[英]Adding custom items to intellisense in Visual studio 2013
[英]Visual Studio 2013 intellisense not working for cshtml
我剛剛使用MVC 5.2.3啟動了一個新的dot net 4.5.1項目,而我的intellisense無法用於cshtml文件。 ViewBag.Title
給出錯誤, one or more types required to compile a dynamic expression cannot be found
。 實際的網站雖然可以編譯和加載。 因此,唯一的問題是智能感知。 我嘗試刪除並添加C#參考。 還有其他建議嗎?
因此,我不知道如何解決此問題,但是我切換到了點網4.5.0,然后又回到了4.5.1,現在已經解決了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.