Share via


"Package Did Not Load Correctly”?" in Visual Studio 2019

Question

Friday, October 18, 2019 5:59 PM

Hello,

I install C++ in Visual Studio 2019 for first time. I created a new project and I have this error.

All replies (5)

Monday, October 21, 2019 9:57 AM ✅Answered | 1 vote

Hi Arash,

Welcome to the MSDN forum.

According to the error message, you could try to delete the cache file of VS 2019, please close all VS instances and go to C:\Users\XXXX\AppData\Local\Microsoft\VisualStudio\16.0_XXXXX then delete the ComponentModelCache folder. After that restart VS to check if this issue has been solved.

I also find a similar issue for you to refer more: How can I fix the Microsoft Visual Studio Error: “Package Did Not Load Correctly”?.

BTW, I recommend you could try to repair VS 2019. Please open Visual Studio Installer -> find Visual Studio 2019 -> More -> Repair.

If this issue persists, could you share us with the ActivityLog.xml file and I will go to check this error log?

Hope all above could help you and any feedback will be expected.

Best Regards,

Tianyu

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Friday, October 18, 2019 6:41 PM

What type of project did you create? What did you do (what steps) to create it?

What did you install when you installed Visual Studio? There might be something relevant there.

What extensions did you install? There might be something relevant there.

Did you look at the ActivityLog.xml file? You should follow instructions such as that before posting a question. When you look at the file and do not understand something in the file then that is what you should ask about.

Sam Hobbs
SimpleSamples.Info


Friday, October 18, 2019 7:30 PM

Start --> New --> Project --> C++ Console Project

I don't install extension in Visual Studio.


Saturday, October 19, 2019 1:58 AM

I install C++ in Visual Studio 2019 for first time. I created a new project and I have this error.

Note that there is a forum specifically for Visual Studio install issues:

Visual Studio Setup and Installation
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup&filter=alllanguages

  • Wayne

Monday, October 21, 2019 10:58 PM

Thank you for your answer,

I deleted ComponentModelCache folder and problem was solved.