You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to embed the *.rdl file into the compiled *.exe.
First i tried to use the SourceFile property, but i gave up on it, because i couldn't get a Uri for the resource file. Instead i used SourceRdl, which worked:
This works, the report shows up correctly in the viewer, i'm able to use the ViewerToolstrip's Save, to save out a pdf, etc.
But when i tried to Print() it, i got a NullReferenceException because i'm using SourceRdl. And if SourceRdl is set, SourceFile is null, but Print() tries to access 'SourceFile.LocalPath'
I try to embed the *.rdl file into the compiled *.exe.
First i tried to use the SourceFile property, but i gave up on it, because i couldn't get a Uri for the resource file. Instead i used SourceRdl, which worked:
This works, the report shows up correctly in the viewer, i'm able to use the ViewerToolstrip's Save, to save out a pdf, etc.
But when i tried to Print() it, i got a NullReferenceException because i'm using SourceRdl. And if SourceRdl is set, SourceFile is null, but Print() tries to access 'SourceFile.LocalPath'
The text was updated successfully, but these errors were encountered: