When I run my code from Visual Studio 2015 it gives error and the build failed.
When I build or rebuild or clean the solution there is no error, But when I run it by clicking on the Start button it failed. It is a desktop application.
I cannot see any error in the error list.
When I changed the Error log file verbosity from Minimal to Detailed, I can see following failure error in the output window.
2>Output file "obj\Debug\RdlCompile.compiled" does not exist.
2>Using "RdlCompile" task from assembly "Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91".
2>Task "RdlCompile" (TaskId:27)
2> Task Parameter:
2> Sources=
2> Reports\ReportPreviewDetailsSubreport.rdlc
2> Reports\Report Preview Details.rdlc
2> Reports\Report Preview.rdlc
2> Reports\Report1.rdlc
2> Reports\Report_Graph.rdlc
2> Reports\Report_NoData.rdlc (TaskId:27)
2> Task Parameter:StateFile=obj\Debug\RdlCompile.cache (TaskId:27)
2> Task Parameter:TimeStampFile=obj\Debug\RdlCompile.compiled (TaskId:27)
2> Output Item(s): FileWrites=obj\Debug\RdlCompile.cache (TaskId:27)
2> Output Item(s): FileWrites=obj\Debug\RdlCompile.compiled (TaskId:27)
2>Done executing task "RdlCompile" -- FAILED. (TaskId:27)
Had the same issue in VS 2017. Uninstall and reinstall of VS 2017 fixed the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With