I have finished my first wpf reporting application and everything works fine. Except when I publish my app for my clients and when running on the client machines the app cannot find the report that on the visual studio debug mode works fine. my code is:
var report = new Stimulsoft.Report.StiReport();
report.Load("Reportes/Report.mrt");
report.Dictionary.Variables["InformeGastoId"].ValueObject = InformeGastosID;
report.ShowWithWpf();
The report is on a folder within the project structure. was added and in action I set it up as Embedded Resource and copy always but is not being copied to the user machines, I publish with ClickOnce and the error is:
Could not find part of the path 'c:\users\easp\AppData ... \Reportes\Report.mrt'
Any thoughts?
How to publish with ClickOnce
-
- Posts: 1
- Joined: Tue May 06, 2025 8:39 pm
-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to publish with ClickOnce
Hello,
Please send us a sample project that reproduces the issue for analysis.
Thank you.
Please send us a sample project that reproduces the issue for analysis.
Thank you.