.NET - Multiple libraries with the same namespace - referencing <p>Today I am faced with a curious challenge...</p> <p>This challenge involves two .NET libraries that I need to reference from my application. Both of which I have no control over and have the same namespace within them.</p> <p>So...</p> <p>I have <code>foo.dll</code> that contains a <code>Widget</code> class that is located on the <code>Blue.Red.Orange</code> namespace.</p> <p>I have <code>bar.dll</code> that also contains a <code>Widget</code> class that is also located on the <code>Blue.Red.Orange</code> namespace.</p> <p>Finally I have my application that needs to reference both <code>foo.dll</code> and <code>bar.dll</code>. This is needed as within my application I need to use the <code>Widget</code> class from <code>foo</code> and also the <code>Widget</code> class from <code>bar</code></p> <p>So, the question is how can I manage these references so that I can be certain I am using the correct <code>Widget</code> class?</p> <p>As mentioned, I have no control over the <code>foo</code> or <code>bar</code> libraries, they are what they are and cannot be changed. I do however have full control over my application.</p>