vb.net - 完成执行任务 "RdlCompile"-- Visual Studio 2015 中的失败错误

标签 vb.net visual-studio-2015 report-viewer2012

当我从 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)

最佳答案

在 VS 2017 中有同样的问题。卸载并重新安装 VS 2017 为我解决了这个问题。

关于vb.net - 完成执行任务 "RdlCompile"-- Visual Studio 2015 中的失败错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54038115/

相关文章:

c# - Microsoft ReportViewer 2012 引用

c# - 使用 Select() 过滤数据表

vb.net - GlovePIE 和应用程序之间的通信

.net-core - dotnet fatal error hostfxr.dll

c# - 没有注册类型 'Microsoft.Framework.DependencyInjection.ServiceLookup.IServiceManifest' 的服务

visual-studio-2015 - 始终使用最新版本的 nuget 包

vb.net - Vb.Net 中的事件处理程序

c# - 如何将C#中的符号“?”转换为vb.net?

visual-studio - 使用 SSRS 2012 运行时,VS 2010 丢失 "Microsoft.ReportViewer.Common Version=8.0.0.0"