pharring/EditorGuidelines

Package fails to load under VS2022 and VS2022 Preview

krazyplacebo opened this issue · 2 comments

I love this extension and have used it extensively under VS2019 Community Edition, but it fails to work for me under both VS2022 Community Edition and VS2022 Community Edition Preview.

When I right-click and try to add a guideline, I get a 'The EditorGuidelinesPackage did not load correctly' error.
My ActivityLog.xml file shows:

SetSite failed for package [EditorGuidelinesPackage]Source: 'EditorGuidelines' Description: Could not load file or assembly 'Microsoft.ApplicationInsights, Version=2.1.0.0

I have no idea of how I go about installing Microsoft.ApplicationInsights version 2.1.0.0

Any help or advice would be much appreciated. Many thanks.

See #87. A workaround can be found in this comment.

The linked VS bug ticket (from that issue) has been marked as fixed just yesterday, so fingers crossed it's soon resolved in a new VS release 🤞

That workaround fixed it for me. Many thanks Chris!