Unable to load ClassDiagram.cd URI formats not supported

When I create a new class diagram in my ASP.NET Application C # application, it gives me an error message:

(Cannot load 'C:\Users\...\...\App_Code\ClassDiagram.cd': URI formats are not supported) 

I do not have classes in my ASP.NET project.

+6
source share
3 answers
 string uri = "file:\\C:\Users\...\...\App_Code\ClassDiagram.cd"; string localPath = new Uri(uri).LocalPath; 

OR

 @'C:\Users\...\...\App_Code\ClassDiagram.cd' 

OR

 'C:\\Users\\...\\...\\App_Code\\ClassDiagram.cd' 

more than three ways to solve the problem

0
source

Please see my full answer to a related post on stackoverflow for more details here .

In the "WEBSITE" section, select "Use Visual Studio Development Server ..." and then try to right-click on your solution (or App_Code worked for me too) and select "Show Chart Class" again.

0
source

please this answer where i can write this

0
source

Source: https://habr.com/ru/post/926506/


All Articles