Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2022 extension fails to load #791

Closed
Seledrex opened this issue Jan 14, 2023 · 2 comments
Closed

Visual Studio 2022 extension fails to load #791

Seledrex opened this issue Jan 14, 2023 · 2 comments

Comments

@Seledrex
Copy link

When opening Visual Studio, I am greeted with an error message stating "The 'CSharpierPackage' package did not load correctly.". Inside the ActivityLog.xml, the following is found:

<entry>
  <record>330</record>
  <time>2023/01/14 12:20:02.568</time>
  <type>Error</type>
  <source>VisualStudio</source>
  <description>SetSite failed for package [CSharpierPackage]Source: &apos;System&apos; Description: The system cannot find the file specified&#x000D;&#x000A;</description>
  <guid>{D348BA73-11DC-46BE-8660-6D9819FC2C52}</guid>
  <hr>0x80004005 - E_FAIL</hr>
  <errorinfo></errorinfo>
</entry>

How can this problem be resolved? I am able to make CSharpier work via command line fine, but using it with the Visual Studio extension would be even better.

Visual Studio 17.4.4
dotnet-csharpier 0.21.0
CSharpier Extension 1.3.5

@Seledrex
Copy link
Author

I restarted my PC and everything seems to work now. 🙃

@TransientError
Copy link

This happened to me this week. For me, it was because I had uninstalled .NET runtime. Hopefully this will help someone in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants