我正在使用visual studio 2012 v4,.net4.5。昨天,这个程序开始出现这个错误。首先它给出了空白错误,没有写入。然后它给出了这个错误。我该怎么办?
我正在使用visual studio professional 2012.我无法编写任何脚本代码和css。
遇到异常。这可能是由扩展引起的。
<entry>
<record>504</record>
<time>2014/04/03 12:20:20.043</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{A764E895-518D-11D2-9A89-00C04F79EFC3}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
<path>C:\Program Files (x86)\Microsoft Visual Studio 11.0\\Common7\Packages*\CSSPkgUI.dll</path>
</entry>
<entry>
<record>519</record>
<time>2014/04/03 12:20:21.339</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Visual Studio CSS Editing Package]</description>
<guid>{A764E895-518D-11D2-9A89-00C04F79EFC3}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>520</record>
<time>2014/04/03 12:20:21.339</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Visual Studio CSS Editing Package]</description>
<guid>{A764E895-518D-11D2-9A89-00C04F79EFC3}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>521</record>
<time>2014/04/03 12:20:21.340</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Package failed to load; error message suppressed by skip flag</description>
<guid>{A764E895-518D-11D2-9A89-00C04F79EFC3}</guid>
</entry>
<entry>
<record>522</record>
<time>2014/04/03 12:20:21.349</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.NullReferenceException: Object reference not set to an instance of an object.
 at Microsoft.VisualStudio.CSS.LanguageSettings..ctor()
 at Microsoft.VisualStudio.CSS.Globals.Initialize()
 at Microsoft.Web.HtmlTemplates.Editor.HtmlTemplatesClassifierProvider.GetClassifier(ITextBuffer textBuffer)
 at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTaggerProvider.<>c__DisplayClass1`1.<CreateTagger>b__0(IClassifierProvider provider)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter, IContentType dataContentType, Object errorSource)</description>
</entry>