0

This Bug Affect's the Designer, which makes the entire project useless without it, it happends in Visual Studio 2019 and in 2022, I haven't checked 2020 or lower versions of Visual Studio, It's not an error, but it seems to fail to load the Xaml Designer, With it saying "Some assembly references are missing." "Building to restore the NuGet cache might resolve this issue." which I don't know what it means.

Reference Image

1

This happends everytime you create a User Control Class Library | c# template project, as I have searched in the internet and found nothing because it would not work as these Answers would in most of the time would not work:

^^^ These don't work,

If There is no definitive answer / solution to this problem it is a Major Visual Studio Problem/Bug For C# Assembly Developers.

vimuth
  • 5,064
  • 33
  • 79
  • 116
  • Did you try building? I hear it might resolve the issue by restoring the NuGet cache. – John Wu Jul 24 '22 at 08:08
  • 1
    Works just fine when I try it in VS2019 v16.11.16 targeting .NET 5.0 and VS2022 v17.1.5 targeting .NET 6.0. Ensure your VS version is up to date by running the Visual Studio Installer. Try temporarily disabling the installed security software next, the designer runs out-of-process and that makes it vulnerable to over-eager anti-malware. – Hans Passant Jul 24 '22 at 11:16

0 Answers0