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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Assembly not found in release mode

Assembly not found in release mode

Scheduled Pinned Locked Moved C#
helpc++debuggingquestionannouncement
5 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.
  • C Offline
    C Offline
    cppdotnet
    wrote on last edited by
    #1

    I have 2 project in a solution and i have added correct references. When I compile it in Debug mode it works fine but I am not able to compile it in relese mode I am getting the error saying (Are you missing a using directive or an assembly reference?) the assemply it's missing is namespace for my 2nd project which i know i have added a reference in 1st project. Please any help or advice? really appericiated Thanks, cpp

    M E 2 Replies Last reply
    0
    • C cppdotnet

      I have 2 project in a solution and i have added correct references. When I compile it in Debug mode it works fine but I am not able to compile it in relese mode I am getting the error saying (Are you missing a using directive or an assembly reference?) the assemply it's missing is namespace for my 2nd project which i know i have added a reference in 1st project. Please any help or advice? really appericiated Thanks, cpp

      M Offline
      M Offline
      Matt Newman
      wrote on last edited by
      #2

      Possibly it has to do with with where the assembly is outputted in release mode compile. Did you add the reference to the second assembly by referencing the dll, or by referencing the project? Matt Newman
      Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

      1 Reply Last reply
      0
      • C cppdotnet

        I have 2 project in a solution and i have added correct references. When I compile it in Debug mode it works fine but I am not able to compile it in relese mode I am getting the error saying (Are you missing a using directive or an assembly reference?) the assemply it's missing is namespace for my 2nd project which i know i have added a reference in 1st project. Please any help or advice? really appericiated Thanks, cpp

        E Offline
        E Offline
        enjoycrack
        wrote on last edited by
        #3

        try to set 2nd project in release mode also... << >>

        C 1 Reply Last reply
        0
        • E enjoycrack

          try to set 2nd project in release mode also... << >>

          C Offline
          C Offline
          cppdotnet
          wrote on last edited by
          #4

          I am trying to complie whole solution and it's giving me assembly not found error. Thanks

          D 1 Reply Last reply
          0
          • C cppdotnet

            I am trying to complie whole solution and it's giving me assembly not found error. Thanks

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            When you created the Reference, did you select the .DLL file directly or did you reference the .DLL's Project? Yes, it makes a huge difference. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            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