Problem generating manifest. Could not load file or assembly RRS feed

  • Question

  • i try to run the VB.Net project occure the following error

     Problem generating manifest. Could not load file or assembly 'C:\Documents and Settings\Administrator\Desktop\Retail-Soft Touch\obj\Release\Retail-Soft Touch.exe' or one of its dependencies. An attempt was made to load a program with an incorrect format. Retail-Soft Touch

    please help me

    Tuesday, June 28, 2011 7:44 AM

All replies

  • Well. there are many reasons which could leed to such error.

    But first, have you created a special manifest file for your exe?

    How the manifest file looks like?

    Tuesday, June 28, 2011 9:40 AM
  • Also check if all the referenced assemblies are in the folder or GAC, and also of the same version
    Pratap --Mark the best replies as answers!
    Tuesday, June 28, 2011 11:53 AM
  • Hi,

    Is "Retail-Soft Touch.exe" the correct name of the loaded assembly?

    How do you load this assembly in the application? And whether it is a managed assembly?

    Look forward to hearing from you.

    Have a nice day!

    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 29, 2011 10:15 AM
  • I am very late to the answer because recently I jolt into the same problem and found solution by changing platform target to the x64 , because I am running my project on Windows x64.
    Monday, April 22, 2019 8:33 PM