Reputation: 512
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)
Upvotes: 3
Views: 1531
Reputation: 120
For Visual Studio 2017, re-installing the the vsix for RDLC Report Designer worked! Spent 10 hours trying to figure this out.
Upvotes: 1
Reputation: 93
Hope I am not too late. I faced this notorious issue and able to fix it with following steps
I took references from other answers like visual studio 2017 community build fail without showing any error!
Upvotes: 1
Reputation: 11
I was also having this issue.
I was able to correct it by uninstalling the Microsoft RDLC Report Designer extension. Disabling it was not enough.
Upvotes: 1
Reputation: 26
Had the same issue in VS 2017. Uninstall and reinstall of VS 2017 fixed the issue for me.
Upvotes: 1