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

Package not loaded anymore in VS2017 V15.4.0 #84

Closed
heering opened this issue Oct 13, 2017 · 9 comments
Closed

Package not loaded anymore in VS2017 V15.4.0 #84

heering opened this issue Oct 13, 2017 · 9 comments

Comments

@heering
Copy link

heering commented Oct 13, 2017

VS Acitivity Log is:

233
2017/10/13 07:41:06.541
Information
VisualStudio
Begin package load [LicenseHeaderManager.LicenseHeadersPackage, LicenseHeaderManager, Version=2.0.2.0, Culture=neutral, PublicKeyToken=cdd89d39b9f20fb0]
{4C570677-8476-4D33-BD0C-DA36C89287C8}


234
2017/10/13 07:41:06.562
Error
VisualStudio
LegacySitePackage failed for package [LicenseHeaderManager.LicenseHeadersPackage, LicenseHeaderManager, Version=2.0.2.0, Culture=neutral, PublicKeyToken=cdd89d39b9f20fb0]Source: 'EnvDTE80' Description: Unbekannter Name. (Ausnahme von HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)) System.Runtime.InteropServices.COMException (0x80020006): Unbekannter Name. (Ausnahme von HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)) at EnvDTE80.Events2.GetObject(String Name) at LicenseHeaderManager.LicenseHeadersPackage.Initialize() at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)
{4C570677-8476-4D33-BD0C-DA36C89287C8}


80020006



235
2017/10/13 07:41:06.563
Error
VisualStudio
SetSite failed for package LicenseHeaderManager.LicenseHeadersPackage, LicenseHeaderManager, Version=2.0.2.0, Culture=neutral, PublicKeyToken=cdd89d39b9f20fb0
{4C570677-8476-4D33-BD0C-DA36C89287C8}

80020006



236
2017/10/13 07:41:06.567
Error
VisualStudio
End package load [LicenseHeaderManager.LicenseHeadersPackage, LicenseHeaderManager, Version=2.0.2.0, Culture=neutral, PublicKeyToken=cdd89d39b9f20fb0]
{4C570677-8476-4D33-BD0C-DA36C89287C8}

80020006

@FlorianDecker
Copy link
Contributor

It seems like this is an issue with your VS installation. Please try the steps described on this site:

  • Launch “Developer Command Prompt for VS 2017” as Administrator
  • Go to VS 2017 installation folder, for example: pushd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
  • gacutil -if Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll

if this does not work, maybe try the steps described on this site.

@kellybeth7
Copy link

A coworker and I are both having the same issue. The solutions above did not fix it. It is happening to me in VS 15.4.0 and 15.4.1. ActivityLog info is the same as previously reported. I did have Visual Studio 2015 installed as well (where License Header Manager was working fine). In my attempts to resolve this error, I have uninstalled VS 2015 and performed a repair on the VS 2017 installation, but it didn't help.

@FlorianDecker
Copy link
Contributor

You could try deleting/renaming the ComponentModelCache Folder

It should be located under %localappdata%\Microsoft\VisualStudio\15.0_d117062 (The hashvalue after "15.0_" probably is different on your machine)

@kellybeth7
Copy link

I've done that several times. Last time was just 5 mins ago. No luck.

@FlorianDecker
Copy link
Contributor

I think i found the error location. Please uninstall your current LicenseHeaderManager version and try the version below:

LicenseHeaderManager_unsigned.zip

@kellybeth7
Copy link

That works! Thanks so much!

@FlorianDecker
Copy link
Contributor

Nice!

Sry for the inconvenience!

@heering
Copy link
Author

heering commented Nov 2, 2017

It works! Thanks for your support!

@FlorianDecker
Copy link
Contributor

Nice! We will include the fix in the next official release :)

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

3 participants