Does .dll ignore import errors, clr

Viewed 27

I got a question for you guys who are a little more knowledgeable about c# and the using keyword.

Say I got the following classes:

using Project.BuildB.B

namespace Project.BuildA

public class A { }

and

namespace Project.BuildB

public class B { }

Now say that I replaced the BuildA.dll on a computer without adding the BuildB.dll, wouldn't that cause an error if they run the .exe?

I have done the above, by mistake, however I haven't gotten any complaints from the people I gave the patch to about any error messages. I am just wondering if c# or .net handles it because the code is just trying to make contact with the .dll and not trying to use it in the code. The thing I am most worried about is if this can have any underlying consequences, like unpredictable executioning.

I have tried to look for answers on this topic, but I find mostly questions about trying to fins missing .dll's. Thanks to anyone who got an answer for this.

0 Answers
Related