From the Southern Hemisphere

From the Southern Hemisphere

南半球に移住したプログラマの日々

【Visual Studio 2019】3 steps to solve an error "ConnectedServicesPackage did not load correctly"

After just installed Visual Studio 2019 and made a project, an error message appears every time when I load the project.

Error message

After just installed Visual Studio 2019 and made a project, an error message appears every time when I load the project.

The ConnectedServicesPackage did not load correctly

Check the situation

I checked a xml log file in a folder below,

C:\Users\USERNAME\AppData\Roaming\Microsoft
\VisualStudio\16.0_78391619\ActivityLog.xml 

The log file showed an error message.

CreateInstance failed for package [ConnectedServicesPackage]Source:

Normally, ConnectedServicesPackage file should be in a folder below but for my environment did not have the package file.

c:\program files (x86)\microsoft visual studio
\2019\community\common7\ide\extensions
\41yux4mr.ehs\Microsoft.VisualStudio.ConnectedServices.Package2.dll

Three steps to fix the problem

Step 1: Delete a DLL folder

Delete a folder for DLL files of Visual Studio 2019 below

c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\41yux4mr.ehs\

Step 2: Recovery installation for Visual Studio

Boot a Visual Studio Installer and select and start Recovery Installer.

Step 3: Open the project file

After finish the recovery installation, open the project file and check the error does not occur.

I hope it will be your help :)

Functional Programming in C#: How to write better C# code

Functional Programming in C#: How to write better C# code

読者さん募集中

当サイトの記事を気に入っていただけたら読者登録お願いします。