question

HiiDream-4862 avatar image
0 Votes"
HiiDream-4862 asked HiiDream-4862 answered

Blend for visual studio 2019 show that "Packages did not load correctly” ! Version 16.10.3


116025-image.png


我装了最新版本的blend for visual studio 2019 社区版verison 16.10.3,一打开工具,就提示上图,说是有些包未能正确加载。
我尝试了论坛和网站提到的解决方案,都解决不了:
https://social.msdn.microsoft.com/Forums/en-US/262acbdb-6f99-43c7-acba-608c03020a09/quotpackage-did-not-load-correctly8221quot-in-visual-studio-2019
https://stackoverflow.com/questions/17574089/how-can-i-fix-the-microsoft-visual-studio-error-package-did-not-load-correctly

根据提示,这是工具提示所说的日志文件:116000-activitylog.xml
然后当我想创建新项目的时候,项目模板又都是空的:
116111-image.png


但是很奇怪,我装visual studio 2022预览版,blend又能正常打开使用。



vs-setup
image.png (58.7 KiB)
image.png (31.4 KiB)
activitylog.xml (744.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HiiDream-4862 avatar image
0 Votes"
HiiDream-4862 answered

Thank you @TianyuSun-MSFT and @Castorix31, I found that the problem is caused by the security software of my company.And after the IT technicians give the permission for blend.exe,now it works !

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered HiiDream-4862 commented

Hi @HiiDream-4862 ,

Welcome to Microsoft Q&A forum.

Blend for Visual Studio is a component of Visual Studio. If you have selected the options in VS 2019 like this document: Blend for Visual Studio overview mentioned, then from the error message, perhaps the Blend for VS 2019 wasn’t installed well.

I suggest you try to uninstall and reinstall it, from VS Installer > Visual Studio 2019 > Modify > on the right pane, expand .NET desktop development and then uncheck the Blend for Visual Studio option > Remove > check it again and reinstall it.

If this doesn’t work, please try to repair VS 2019 from VS Installer. If none of the above suggestions work, as the last resort, please try to reinstall VS 2019.

Feel free to contact me.

Best Regards,
Tianyu


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

3Q @TianyuSun-MSFT . I've tried,but the problem remains.
I have installed visual studio 2022 preview, the blend can work fine. However,there are some problems with this version.

0 Votes 0 ·
Castorix31 avatar image
0 Votes"
Castorix31 answered HiiDream-4862 commented

Have you tried the solutions from Google :
Close Visual Studio instances, then delete all files in (16_xxx for your version) :

%LOCALAPPDATA%\Microsoft\Blend\16_xxx\ComponentModelCache
%LOCALAPPDATA%\Microsoft\VisualStudio\16_xxx\ComponentModelCache


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes,I have deleted all files

0 Votes 0 ·