{"id":1684,"date":"2013-05-01T15:42:39","date_gmt":"2013-05-01T15:42:39","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2013\/05\/01\/please-update-to-the-latest-version-of-web-essentials-2012-after-installing-vs2012-update-2\/"},"modified":"2013-05-01T15:42:39","modified_gmt":"2013-05-01T15:42:39","slug":"please-update-to-the-latest-version-of-web-essentials-2012-after-installing-vs2012-update-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/please-update-to-the-latest-version-of-web-essentials-2012-after-installing-vs2012-update-2\/","title":{"rendered":"Please update to the latest version of Web Essentials 2012 after installing VS2012 Update 2"},"content":{"rendered":"<p>After releasing ASP.NET and Web Tools 2012.2, which is also included in Visual Studio 2012 update 2, we&rsquo;ve received a few customer feedback about their VS shows an error dialog saying:<\/p>\n<blockquote>\n<p>An exception has been encountered. This may be caused by an extension.<\/p>\n<\/blockquote>\n<blockquote>\n<p>You can get more information by examining the file &#8216;C:Users&lt;username&gt;AppDataRoamingMicrosoftVisualStudio12.0ActivityLog.xml&#8217;.<\/p>\n<\/blockquote>\n<p>When looking at ActivityLog.xml, the following error message may show up:<\/p>\n<blockquote>\n<p>System.ComponentModel.Composition.ImportCardinalityMismatchException: Duplicate EditorFormatDefinition exports with identical name attributes exist. Duplicate name is LESSCSSVARIABLEDECLARATIONCLASSIFICATIONFORMAT<\/p>\n<\/blockquote>\n<p>To solve this problem, one just need to update the &ldquo;<a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/07d54d12-7133-4e15-becb-6f451ea3bea6\">Web Essentials 2012<\/a>&rdquo; extension to the latest version.<\/p>\n<p>What happened is author <a href=\"http:\/\/about.me\/madskristensen\">Mads<\/a> (also PM in the Web editor team) graduated LESS and CoffeeScript feature from web essentials 2012 and put these feature officially in ASP.NET and Web Tools 2012.2 (see <a title=\"http:\/\/vswebessentials.com\/changelog\" href=\"http:\/\/vswebessentials.com\/changelog\">change log<\/a> for version details).&nbsp; So using an old version of Web Essentials will conflict with the newest version of VS2012 update 2.<\/p>\n<p>Thanks for the support!&nbsp; And keep enjoying Web Essentials!<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After releasing ASP.NET and Web Tools 2012.2, which is also included in Visual Studio 2012 update 2, we&rsquo;ve received a few customer feedback about their VS shows an error dialog saying: An exception has been encountered. This may be caused by an extension. You can get more information by examining the file &#8216;C:Users&lt;username&gt;AppDataRoamingMicrosoftVisualStudio12.0ActivityLog.xml&#8217;. When looking [&hellip;]<\/p>\n","protected":false},"author":410,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[7412,7435],"class_list":["post-1684","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-visual-studio-2012","tag-web-essentials"],"acf":[],"blog_post_summary":"<p>After releasing ASP.NET and Web Tools 2012.2, which is also included in Visual Studio 2012 update 2, we&rsquo;ve received a few customer feedback about their VS shows an error dialog saying: An exception has been encountered. This may be caused by an extension. You can get more information by examining the file &#8216;C:Users&lt;username&gt;AppDataRoamingMicrosoftVisualStudio12.0ActivityLog.xml&#8217;. When looking [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/1684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/410"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=1684"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/1684\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=1684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=1684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=1684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}