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. C#
  4. Have problemS with windows control dll

Have problemS with windows control dll

Scheduled Pinned Locked Moved C#
questionhelpannouncement
1 Posts 1 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.
  • T Offline
    T Offline
    Tony_Joh
    wrote on last edited by
    #1

    Hello! I have one solution file that consist of three project. One project that build the exe file. One project that build a class library dll One project that build a windows control dll In the windows control c-tor is there a call to a method in the class libarary. So in the project referense settings for the windows control I have a project referens to the class library. In the exe file c-tor I have a call to a method in the class library. So in the project reference settings for the exe file I have a project reference to the class library and to the windows control because I can drag the windows control from the toolbox to a form in the project that build the exe file. Now to my problem if I now rebuild the project only for the class library and then try to drag the windows control to a form I get the following error "An exception occured while trying to create an instance of Middle.Middle. The execption was "?"." But if I rebuild the windows control instead then I can drag the windows control from the toolbox to a form in the project that build the exe file. My first question why do I get this error. My second question is what is the recommended setting for copy local that exist on each project. It it to have true or false. My third question is what requirement is it about the version that each dll have. I mean when an exe file will call a dll or when a dll will call another dll. //Tony

    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