Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Warning MSB3187: Referenced assembly targets a different processor than the application.
 

Warning MSB3187: Referenced assembly targets a different processor than the application.

Hi,

I am working on XBAP application i have creaded a setup of the application after publish and installed it on a server machine and changed configuration now when i try to sign the manifest using mage i get the below error

Warning MSB3187: Referenced assembly 'C:\Inetpub\wwwroot\setup\Application Files\proj_1_0_3_19' targets a different processor than the application.

Is there any way to avoid this warning

Thanks

Arvind V

arvindV  Wednesday, August 19, 2009 2:05 PM

The problem was solved it wasbecause ofvjslib.dll, getting added in application files when i excluded that dll frim applocation files befor publes the error was gone. I dont know how this dll gor added as a prerequsite(Auto) in application files.

Thanks

Arvind

  • Marked As Answer byarvindV Wednesday, August 26, 2009 3:47 AM
  •  
arvindV  Wednesday, August 26, 2009 3:47 AM

Did you change the target cpu? This IS part of the identity in the manifest, and if you do change it, the user will have to uninstall and reinstall the application rather than getting an upgrade.

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, August 20, 2009 5:25 AM

The problem was solved it wasbecause ofvjslib.dll, getting added in application files when i excluded that dll frim applocation files befor publes the error was gone. I dont know how this dll gor added as a prerequsite(Auto) in application files.

Thanks

Arvind

  • Marked As Answer byarvindV Wednesday, August 26, 2009 3:47 AM
  •  
arvindV  Wednesday, August 26, 2009 3:47 AM

You can use google to search for other answers

Custom Search

More Threads

• Best way to include application files in deployment
• VS2005 hangs when adding setup project to an existing solution
• ClickOnce overwrites different application?
• Control Resizing In Deployed Executable !
• Click-once application
• ClickOnce Server Error: access denied
• Modify an existing application so it installs as a new application
• wmi error code 0x800706bf
• Grant login and database access to end user
• Install files to specific folder?