SsrsMsbuildTasks - 使用 AddResource 任务添加的报告图像在报告中呈现为损坏的链接
我使用以下内容在报告部署期间添加图像。图像已上传且有效(您可以在浏览器中显示它们),但它们在报告中呈现为损坏的链接。
<Target Name="AddResources" DependsOnTargets="ValidateDeploymentSettings;GetServerUrl">
<AddResource ReportServerURL="$(TargetServerUrl)" Folder="$(TargetReportFolder)"
Files="%(ResourceFiles.Fullpath)" />
</Target>
AddResource 任务是否需要其他参数才能使图像正常工作?这可能是权限问题吗?
任何帮助表示赞赏。
最好的, /jhd John Dhom
注:还发布到项目论坛... http://ssrsmsbuildtasks.codeplex.com/discussions/ 274252
I'm using the following to add images during report deployment. The images are uploaded, and are valid (you can display them in the browser), but they are rendered as broken links in the reports.
<Target Name="AddResources" DependsOnTargets="ValidateDeploymentSettings;GetServerUrl">
<AddResource ReportServerURL="$(TargetServerUrl)" Folder="$(TargetReportFolder)"
Files="%(ResourceFiles.Fullpath)" />
</Target>
Are there other parameters needed by AddResource task to make images work? Could this be a permission issue?
Any help appreciate.
Best,
/jhd
John Dhom
note: also posted to project forum here... http://ssrsmsbuildtasks.codeplex.com/discussions/274252
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用“@”传递文件,AddResource 将添加 mimetype,如...
AddResource will add the mimetype if you pass the pass the files using '@', as in...