Uri does not exist
I have a report that grabs images from Azure Blob Storage. It was working just fine until I updated to FastReports.Net 2025.1.6. I just tested with FastReports.Net 2025.2.4 and the same thing is happening.
In my Code page, I have a function:
public string EscapeString(string myString)
{
return Uri.EscapeDataString(myString);
}
Through some research, during Compile, it looks like AddStubClasses in MsAssemblyDescriptor shows that Uri belongs to System.Net instead of System.
Comments
It looks like the update to FastReports.Net changed how assemblies are being referenced during compilation. If
Uri
is now being recognized underSystem.Net
instead ofSystem
, you might try explicitly adding ausing System;
at the top of your code page or fully qualifying the call likeSystem.Uri.EscapeDataString(myString)
. This can sometimes resolve issues where the compiler is picking up the wrong assembly reference.Regardings,
snake game