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

  • Home
  • SEARCH
  • 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 1045647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:01:02+00:00 2026-05-16T16:01:02+00:00

This is a console application that I am developing using VS2010 in C#. II

  • 0

This is a console application that I am developing using VS2010 in C#. II got a dll from one of my colleague that I need to use. I added the dll as the reference , added the required name space. Added code to create an instance of the object and used a method from the class. When I finished the code there are no errors reported by VS. When I compiled, I got an error stating ‘The Type or namespace name myname could not be found’.

After I got the error, I removed the dll. I removed the name space. Now my code has red underline over where I first reference the class. I hover over it and using intellisense I added the namespace. I used object explorer to make sure it is there. Now I rebuild the solution and I got the same error. I went to object explorer and the dll reference is gone. But when I look at the reference I see the dll still there. I double click to take it to object explorer and the object definition is not there. It is really weird. This is happening only to this dll I got.

What am I doing wrong here?

*** Found the problem. It seems the DLL my friend was build on framework 3.5 with some dependencies. I changed the frame work to 3.5 and now it build properly.
Thanks,

  • 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-05-16T16:01:03+00:00Added an answer on May 16, 2026 at 4:01 pm

    Whenever I get this problem, it is almost always because I am targeting the wrong framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Total noob here. This is my first c# attempt, its a console application that
I read the input buffer from a console application (CMD) like this: var pBuffer
I am developing an application using jQuery that uses cookies. Right now, it is
I'm developing a console application that parse xml files and generate a txt file.
I am developing an application using twitter api and that involves writing a method
I am developing a console-based .NET application (using mono). I'm using asynchronous I/O (Begin/EndReceive).
What ? I am developing a Console Application that needs to keep running 24/7
I just published this simple console application that is supposed to show a textbox
I'm developing an application that is running a lot of TcpListener tasks using c#
Using C# 4 in a Windows console application that continually reports progress how can

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.