Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4155
Can't put .igr files in a folder/directory in WPF project?
posted

I am having a problem putting my .igr files into a subdirectory of my WPF project.

Uri reportUri = new Uri("/Bill;component/GenericInvoice.igr", UriKind.Relative);

works fine when GenericInvoice.igr is in the root of my project, but how can i put GenericInvoice.igr into a folder that houses my .igr files? It seems Uri reportUri = new Uri("/Bill/Invoices;component/GenericInvoice.igr", UriKind.Relative);

reports an error that it can't find GenericInvoice.igr