Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Assembly Manifest Error

Assembly Manifest Error

Scheduled Pinned Locked Moved Visual Studio
helpquestioncsharpvisual-studio
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kevs0233
    wrote on last edited by
    #1

    I was working on Visual Studio 2008 Pro and all of a sudden I went to click on the "start debugging" and an error code appeared: Error while trying to run project: Could not load file or assembly "project1" or one of its dependencies. The module was expected to contain an assembly manifest. I have never received this error code before. How do I remedy this problem? Thanks Kevin

    L 1 Reply Last reply
    0
    • K Kevs0233

      I was working on Visual Studio 2008 Pro and all of a sudden I went to click on the "start debugging" and an error code appeared: Error while trying to run project: Could not load file or assembly "project1" or one of its dependencies. The module was expected to contain an assembly manifest. I have never received this error code before. How do I remedy this problem? Thanks Kevin

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Your system might have uninstalled the GAC and you need to reinstall it. If you are running Visual Studio 2008, you could use the Visual Studio 2008 Command Prompt Go to(Start-All Programs-Microsoft Visual Studio 2008 – Visual Studio Tools – Visual Studio 2008 Command Prompt) and execute the this command gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" quotes are required and you may change it to whatever .dll file you need installed. Hope it helps! Farhat. P.S. You need to restart your VS in order to see this error gone.

      L 1 Reply Last reply
      0
      • L Lost User

        Your system might have uninstalled the GAC and you need to reinstall it. If you are running Visual Studio 2008, you could use the Visual Studio 2008 Command Prompt Go to(Start-All Programs-Microsoft Visual Studio 2008 – Visual Studio Tools – Visual Studio 2008 Command Prompt) and execute the this command gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" quotes are required and you may change it to whatever .dll file you need installed. Hope it helps! Farhat. P.S. You need to restart your VS in order to see this error gone.

        L Offline
        L Offline
        LTMKH
        wrote on last edited by
        #3

        I have the same problem....I can't solve this yet....i do your step and restart pc ,but still the same problem...can you solve this problem for me

        L 1 Reply Last reply
        0
        • L LTMKH

          I have the same problem....I can't solve this yet....i do your step and restart pc ,but still the same problem...can you solve this problem for me

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I am sure you must be able to resolve the issue. I just happen to visit codeproject and I will revise the solution for you once again. To install it into your GAC, simply navigate to: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin in your command prompt (not the .NET on, the regular one) and type in: gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" or change it to whatever .dll file you need installed. I am sure you won't get that error again. Regards Farhat.

          N 1 Reply Last reply
          0
          • L Lost User

            I am sure you must be able to resolve the issue. I just happen to visit codeproject and I will revise the solution for you once again. To install it into your GAC, simply navigate to: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin in your command prompt (not the .NET on, the regular one) and type in: gacutil -I "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dll" or change it to whatever .dll file you need installed. I am sure you won't get that error again. Regards Farhat.

            N Offline
            N Offline
            nishapp
            wrote on last edited by
            #5

            Even after doing the steps you said it is still not working how will i know which dll to run

            L 1 Reply Last reply
            0
            • N nishapp

              Even after doing the steps you said it is still not working how will i know which dll to run

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              It has been a year since I didn't come across such a problem. I am on Visual Studio 2010 Ultimate now. This link might help. http://stackoverflow.com/questions/215026/the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference[^] Regards Farhat.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups