Accessing data in one assembly from another
-
I have two assemblies (1.consoleApp1.exe, 2.Log.dll) Both assemblies use the same namespace and consoleApp1.exe has a reference to log.dll. My problem is that I can't reference an object from log.dll which is located in consoleApp1.exe. I get the following error message " namespace or type could not be found. Are you missing an assembly or namespace?" Also note, I can reference log.dll from consoleApp1.exe just fine. It's only the other way around where I'm having problems. I'm new to this, so any suggestions as to why this is happening would be great.
-
I have two assemblies (1.consoleApp1.exe, 2.Log.dll) Both assemblies use the same namespace and consoleApp1.exe has a reference to log.dll. My problem is that I can't reference an object from log.dll which is located in consoleApp1.exe. I get the following error message " namespace or type could not be found. Are you missing an assembly or namespace?" Also note, I can reference log.dll from consoleApp1.exe just fine. It's only the other way around where I'm having problems. I'm new to this, so any suggestions as to why this is happening would be great.
ez2 wrote: Also note, I can reference log.dll from consoleApp1.exe just fine. It's only the other way around where I'm having problems. Best is too create another assembly with common data and reference them from both :) You have nice chicken - egg scenario here :laugh: Hope this help Give them a chance! Do it for the kittens, dear God, the kittens! As seen on MS File Transfer: Please enter an integer between 1 and 2.