Skip to content

Error during running the project in c sharp?

Atul Pote

Asked Nov 19, 2012, 7:59 PM EST3 answers
Share
LinkedInX
i m facing one error when i run the project the error is
Error while trying to run project: Could not load file or assembly or one of its dependencies. The module was expected to contain and assembly manifest.
so please give me solution....
thank u in advance

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Sandeep Singh Shekhawat
    0
    Please do following:

    1. Check bin or reference folder or other folder in your solution. There is some file with a WARNING ICON . Delete these warning icon files from your project. 

    2. Now Add these deleted files if need or leave these if no need in project.

    3. Clean your solution or project.

    4. Rebuild solution or project.

    Thanks 
    Sandeep
    0
  • Sandeep Singh Shekhawat
    0
    Did you check or perform above steps in Visual studio or check directly in folder.

    This error occurs by projectName.csproj file which has references your files and assemblies but these are not in project.

    so its solution is delete warning icon file and rebuild.

    one more thing 

    .do following:
    1. Select Project in Solution under Visual studio Solution Exproler.

    2. Clcik on "Show ALL FILES" Icon on top of solution expropler.

    3. Include hidden Files in projcet which needs.

    4. Clean and rebuild project.

    5. Run
    0
  • 1 short reply
    • 0
      its not working.
      0