当我从 Visual Studio 2015 运行我的代码时,它会出错并且构建失败。
当我构建或重建或清理解决方案时,没有错误,但是当我通过单击“开始”按钮运行它时,它失败了。它是一个桌面应用程序。
我在错误列表中看不到任何错误。
当我将错误日志文件的详细程度从最小更改为详细时,我可以在输出窗口中看到以下失败错误。
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)