Changing a name space of an imported dll RRS feed

  • Question

  • User37182867 posted

    Ok, I dont know where to post this and the question is retarded to begin with. But I have a DLL that is out of my control that does NOT use a namespace at all. Is there a way to force the objects from the DLL into a namespace?

    Wednesday, November 12, 2014 2:03 PM


All replies

  • User-271186128 posted

    Hi Sir,

    From your description, if you want to change the namespace name, you could try to create a proxy assembly.

    For more details, please refer to this article.

    Walkthrough: Creating a Proxy Assembly: http://msdn.microsoft.com/en-us/library/cc175801(v=vs.90).aspx

    >> Is there a way to force the objects from the DLL into a namespace?

    For this issue, I suppose you want to access ASP.NET Intrinsic Objects from .NET Components. If that is the case, here are some articles, perhaps they can help you.



    Best Regards,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 13, 2014 3:28 AM
  • User37182867 posted

    Thanks for the info and no, I work with a "Senior" developer that created a project and removed the default namespace from it. He thinks this is a great idea and will not be convinced to change it.

    Thursday, December 11, 2014 6:35 PM