Home > Back-end >  Why is "Assembliess" missing in Reference Manager and only 3 target frameworks are shown?
Why is "Assembliess" missing in Reference Manager and only 3 target frameworks are shown?

Time:02-15

I am using VS2019. I have created a new VB.NET WinForms project. It is set to use the .NET framework 5.0.

Now I wanted to add the following references:

System.Xaml, PresentationCore, PresentationFramework, WindowsBase, WindowsFormsIntegration

However, "Assemblies" is not visible in the Reference Manager.

Also, in this project I can only chose between 3 frameworks, but I have many more installed:

enter image description here

As one can see, when I open up a project that I have created earlier, I can see and select all of my frameworks:

enter image description here

What is going on here?

Thank you!

enter image description here

CodePudding user response:

I got it:

There were 2 VB.NET WinForms app templates in the Create New Project window.

Microsoft devs did a great job naming them almost exactely the same. Only when I selected

Windown Forms App (.NET Framework) 
A project for creating an application with a Windows Forms (WinForms) user interface

instead of

Windows Forms App 
A project template for creatinng a .NET Windows Forms (WinForms) app

... it would work.

enter image description here

  • Related