Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8299923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:21:01+00:00 2026-06-08T16:21:01+00:00

I have created a new class library(DLL) and when I’m trying to create an

  • 0

I have created a new class library(DLL) and when I’m trying to create an object of a class from the DLL in another assembly or library, then it’s not working and I guess there has to be about the namespace or a reference problem, perhaps both becuase there are different namespaces.

Should I be the other library namespace like using namespace in the beginning of the the other library classes to be able to create an object of this class inside the DLL?

I tested to right click on the on of the other librarys and choose Add reference to this new DLL, but this didn’t work. Some help is preciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:21:02+00:00Added an answer on June 8, 2026 at 4:21 pm

    You need to add it to the references and then access it like follows:

     using MyLibrary
    

    That should be all you need.

    Then you would acess the methods as follows:

     var result = new MyLibrary.MyMethod()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a class library and built a dll (release build). I've then referenced
I have an application that uses (has referenced) a class library (myLib.dll private assembly).
i have created a com class library with vb.net. i have registered the dll
I have created a new class library and I've defined it in the global
I have created a gem that adds a new method to the class ActiveRecord::Base.
I am new to iphone development.I have created a UIview controller class and added
I am using the webapplicationbuilder class to create a new web application and have
I am in the middle of (trying) to create a Class Library available for
I have written a class library in C# (mydll.dll) which accesses a third party
I have the following situation: Assembly A - Class library, contains my control Control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.