2013-07-16 41 views
1

我只是想在ASP.Net MVC 4中創建和啓動一個空白項目。但它會在我的臉上引發一個錯誤。我必須說,在我用SP 3更新VS之前,這沒有發生。我試圖修復安裝,但它沒有幫助。現在我得到這個錯誤:不能啓動默認項目

Could not load file or assembly 'WebGrease, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

任何想法,什麼是錯的?

回答

0

嘗試在您的項目中安裝WebGrease。您可以通過在線類別Tool> Library Package Manager> Manage Nuget packages for solution和搜索webgrease來實現此目的。

+0

沒有,它被安裝。我也卸載並重新安裝它 - 相同的結果 – Windys

+0

嘗試把這個在你的webconfig: Kosmog

+0

看,所有這些值都默認那裏,它不工作 – Windys