清单中的引用与下载的程序集prog1.exe的标识不匹配。 [英] Reference in the manifest does not match the identity of the downloaded assembly prog1.exe.

查看:342
本文介绍了清单中的引用与下载的程序集prog1.exe的标识不匹配。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello社区

   
我有一个Windows C#应用程序。   我无法找到如何添加ReportViewer 11,但我找到了一个包含ReportViewer11并复制该项目的项目,并在需要报告时在其中创建了一个报告。   
我在每个项目中重命名了命名空间以匹配每个项目中的报告名称,除了。

   
问题是,当我尝试运行ClickOnce将项目部署到其他计算机上时,我收到一条错误消息,指出:

   
问题是,当我尝试运行ClickOnce将项目部署到其他计算机上时,我收到一条错误消息,说明: 

    "清单中的引用与下载的程序集prog1.exe的标识不匹配。"

要清除错误:

    ; 1)我在调试  配置中构建了程序

    2)"创建没有清单的申请"

    3)删除项目bin文件夹中的所有内容,然后重建项目

    4)选择"启用ClickOnce安全 
设置"

程序编译但  当我尝试在计算机上安装时无论我做什么,我仍然会收到相同的错误消息。    

        
这个错误意味着什么,我该怎么做摆脱它,以便我可以安装该应用程序?

    谢谢你
    Shabeaut

   

解决方案

嗨Shabeaut,


>>我无法找到如何添加ReportViewer 11


你的VS版本是什么?你可以通过Toolbox-> Reporting-ReportViewer获得ReportViewer。如果没有,我想你可以从Nuget安装ReportViewer。您可以参考下面的链接来安装您想要的内容:


https://www.nuget.org/packages?q=Microsoft.ReportViewer


>>我找到了一个项目,它有ReportViewer11并复制了该项目,并在需要报告时在其中创建了一个报告。


我假设清单已嵌入您的原始项目中。我建议您打开Visual Studio IDE并从菜单中打开可执行文件(File-> Open-> File),删除RT_MANIFEST并保存可执行文件。


您可以参考以下链接获取更多信息。


#清单中的参考与下载的程序集的标识不匹配


https://blogs.msdn.microsoft.com/vsnetsetup / 2013/11/15 / reference-in-the-manifest-does-the-identity-of-downloads-assembly /


最诚挚的问候,


爱德华


Hello Community
    I have a Windows C# application.   I couldn’t find out how to add ReportViewer 11 but I found a project that had ReportViewer11 and copied that project and created a report in it whenever I needed a report.    I renamed the namespace in each project to match the report name in each project except .
    The problem is that when I try to run ClickOnce to deploy the project onto other computers I get a error message stating:     The problem is that when I try to run ClickOnce to deploy the project onto other computers I get a error message stating: 
    "Reference in the manifest does not match the identity of the downloaded assembly prog1.exe."
To get rid of the error:
    1) I built the program in debug  configuration
    2) "Create application without a manifest"
    3) delete everything in the projects bin folder then rebuilt the project
    4) Selected "Enabled ClickOnce security  settings"
The program compiles but  when I try to install on the computer No matter what I do however I still keep getting the same error message.    
       
What does this error mean and how do I get rid of it so I can install the application?
    Thank you
    Shabeaut
   

解决方案

Hi Shabeaut,

>> I couldn’t find out how to add ReportViewer 11

What is your VS version? Could you get ReportViewer by Toolbox->Reporting-ReportViewer. If not, I think you could install ReportViewer from Nuget. You could refer the link below to install what you want:

https://www.nuget.org/packages?q=Microsoft.ReportViewer

>> I found a project that had ReportViewer11 and copied that project and created a report in it whenever I needed a report.

I assume the manifest has been embedded in your original project. I suggest you open Visual Studio IDE and Open the executable file from the menu (File—>Open—>File), delete RT_MANIFEST and save the executable file.

You could refer the link below for more information.

# Reference in the manifest does not match the identity of the downloaded assembly

https://blogs.msdn.microsoft.com/vsnetsetup/2013/11/15/reference-in-the-manifest-does-not-match-the-identity-of-the-downloaded-assembly/

Best Regards,

Edward


这篇关于清单中的引用与下载的程序集prog1.exe的标识不匹配。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆