The solution compiles fine, but when running I get a CS0012 error. The supposed missing reference is indeed referenced. This started occurring when added some implict operators...here's the scenerio:
in namespace CompanyName.Whatever1 there is a class called X; in namespace CompanyName.Whatever2 there is also a class called X. These two classes our highly coupled (purposefully) but *are* indeed seperate objects (let's not get into this design, it's a problem that's being addressed).
Anyway these two 'X' object have to be pretty interchangable so we're using implicit casting. This is all fine and well, and again works fine, but now at runtime when you go to create an instance of Whatever1.X you get CS0012 saying you need to add a reference to CompanyName.Whatever2.dll Verision 1.0.0.0 blah blah...and this is what is referenced in the assembly references!!! It compiles just fine, so I don't understand why we're getting the runtime error.
I have a zip I can email that demonstrates the behavior if you think you can help. (too large to attach to post)
Thanks
in namespace CompanyName.Whatever1 there is a class called X; in namespace CompanyName.Whatever2 there is also a class called X. These two classes our highly coupled (purposefully) but *are* indeed seperate objects (let's not get into this design, it's a problem that's being addressed).
Anyway these two 'X' object have to be pretty interchangable so we're using implicit casting. This is all fine and well, and again works fine, but now at runtime when you go to create an instance of Whatever1.X you get CS0012 saying you need to add a reference to CompanyName.Whatever2.dll Verision 1.0.0.0 blah blah...and this is what is referenced in the assembly references!!! It compiles just fine, so I don't understand why we're getting the runtime error.
I have a zip I can email that demonstrates the behavior if you think you can help. (too large to attach to post)
Thanks