I am using the class diagram extension of Visual Studio 2019 (.NET 5/Standard project).
But sometimes I get a very annoying error message when I try to drag & drop a class from the Class view in the design surface:
The error message appears in different cases - pretty much randomly. My whole project has no errors or warnings and can be built without any problems.
Also the class I want to drag inside the project is referenced by the project with the .cd-file or even inside of it.
So all criterias why the error message could appear are false - I should be able to add the class.
But I cant.
Do you have any ideas what I could try to troubleshoot this? I get the same message if I re-create my whole diagram...