添加到項目後,我無法在Visual Studio 2010中打開CSS文件。未在Visual Studio 2010 SP1中打開的CSS文件?
它顯示了以下錯誤:
The operation could not be completed.Unspecified error.
即使我嘗試在網頁中嵌入編輯CSS直接,IntelliSense不會出現。
添加到項目後,我無法在Visual Studio 2010中打開CSS文件。未在Visual Studio 2010 SP1中打開的CSS文件?
它顯示了以下錯誤:
The operation could not be completed.Unspecified error.
即使我嘗試在網頁中嵌入編輯CSS直接,IntelliSense不會出現。
我找到了解決辦法,從here:
I was having the same issue and found that by going to the Tools -> Extension Manager -> Online Gallery and search for/install the "Web Standards Update for Microsoft Visual Studio 2010 sp1" I was able to open CSS files again.
而且它爲我工作。
也許它可以安裝在Visual Studio LightSwitch測試
OR
的Windows Azure工具安裝
OR
下載這一點,如果已經安裝它之後發生安裝然後修復它,它會解決這個問題:
http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83
有工具欄上寫着 「XHTML 1.0過渡」 下拉框。將其更改爲HTML。
安裝Adobe Cloud生成套件後,發生了這種情況。 Web標準更新訣竅。
在我的情況下,我有一個損壞的Web標準更新擴展安裝。我無法從Extension Manager安裝它,因此我必須到[網站並手動下載](http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83)。一旦我運行安裝程序(它默認爲「修復」)並重新啓動Visual Studio,我可以再次編輯CSS文件。 – CBono
這也適用於我。我的VS整天工作得很好,直到它突然停止打開CSS。這是一個快速修復,現在一切都很好。 – hacker
我已經安裝了它,但它顯然已損壞。重新安裝解決了我的問題。這個答案應該標記爲對這個問題的正確答案。 – Josh