{"id":2499,"date":"2022-07-11T12:06:47","date_gmt":"2022-07-11T19:06:47","guid":{"rendered":"https:\/\/www.curlybrace.com\/words\/?p=2499"},"modified":"2024-05-03T12:46:53","modified_gmt":"2024-05-03T19:46:53","slug":"visual-studio-theme-pack-broke-my-visual-studio-2022","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2022\/07\/visual-studio-theme-pack-broke-my-visual-studio-2022\/","title":{"rendered":"Visual Studio Theme Pack Broke My Visual Studio 2022"},"content":{"rendered":"<p>After installing the Visual Studio Theme Pack from the Visual Studio Marketplace website, my installatio of Visual Studio 2022 was completely broken.  The error messages I was getting included:<\/p>\n<pre><code>The 'MEF Service Broker Package' package did not load correctly.\r\nThe 'Background long idle package' package did not load correctly.<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2022\/07\/VS2022-MicrosoftVisualStudioThemePack-ErrorMessages-1024x555.png\" alt=\"\" \/><\/p>\n<p>I couldn&#8217;t even open Tools | Manage Extensions.  In fact, no menu items worked at all, only triggering an error message, &quot;The operation could not be completed.&quot;  Attempting to open a project resulted in an error &quot;There is no editor available for&#8230;&quot;<\/p>\n<p>Even the close button resulted in an error dialog!<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2022\/07\/VS2022-MicrosoftVisualStudioThemePack-ErrorMessages-AttemptedClose.png\" alt=\"\" \/><\/p>\n<p>The fix was to uninstall the Visual Studio Theme Pack using this command:<\/p>\n<pre class=\"DOS\">C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\VSIXInstaller.exe \/u:VisualStudioThemePack.453e3fa1-2e0e-467e-abbd-1d08fe6468d1<\/code><\/pre>\n<p>After some more monkeying around, I managed to get Visual Studio into an even worse condition.  Ultimately, running these commands <strong>as an Administrator<\/strong> got Visual Studio working again:<\/p>\n<pre class=\"DOS\">C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvars32.bat\r\ndevenv \/resetuserdata<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>After installing the Visual Studio Theme Pack from the Visual Studio Marketplace website, my installatio of Visual Studio 2022 was completely broken. The error messages I was getting included: The &#8216;MEF Service Broker Package&#8217; package did not load correctly. The &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2022\/07\/visual-studio-theme-pack-broke-my-visual-studio-2022\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[312,15],"tags":[],"class_list":["post-2499","post","type-post","status-publish","format-standard","hentry","category-programming","category-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/2499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=2499"}],"version-history":[{"count":10,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/2499\/revisions"}],"predecessor-version":[{"id":2546,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/2499\/revisions\/2546"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=2499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=2499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=2499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}