Cannot load ClassDiagram.cd URI formats are not supported

asp.net, c#

Solution

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'

uper three way to solution of you problem

Problem

When I create a new Class Diagram in my ASP.NET Application C# it gives me an error message that says: ``` (Cannot load 'C:\Users\...\...\App_Code\ClassDiagram.cd': URI formats are not supported) ``` I don't have any classes in my ASP.NET project.

Original source