pharring/EditorGuidelines

VS 2019 startup the 'Visual Studio Common IDE Package' package did not load correctly. Project no load in at all

FTApp1998 opened this issue · 1 comments

Hi , request help and advise on this matter.
have uninstall vs 2019 several time.
study the log.xml and found be exception

SetSite failed for package [Visual Studio Common IDE Package]Source: 'mscorlib' Description: Retrieving the COM class factory for component with CLSID {177F0C4A-1CD3-4DE7-A32C-71DBBB9FA36D} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E). System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {177F0C4A-1CD3-4DE7-A32C-71DBBB9FA36D} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E). at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at Microsoft.VisualStudio.CommonIDE.PreviewFeatures.UsePreviewSdk.IsPreviewChannel() at Microsoft.VisualStudio.CommonIDE.PreviewFeatures.UsePreviewSdk.Initialize() at Microsoft.VisualStudio.CommonIDE.CommonIDEStatics.Initialize() at Microsoft.VisualStudio.CommonIDE.BasePackage.<InitializeAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.CommonIDE.CommonIDEPackage.<InitializeAsync>d__20.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass20_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()

it happen to my VS 2022 installation, both IDE can not load project.

Hi @FTApp1998 ,

Sorry you're having problems with Visual Studio.
Unfortunately, I can't help you here. This repo is for the Editor Guidelines extension. From the error message, I don't think this is an Editor Guidelines issue.

It looks like a general Visual Studio problem. The CLSID 177F0C4A-1CD3-4DE7-A32C-71DBBB9FA36D is for the SetupConfiguration class and Editor Guidelines doesn't use it.

Please report the problem using the Visual Studio Feedback site.

Hope you get back up and running soon.