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 4340352
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:20:15+00:00 2026-05-21T11:20:15+00:00

I am creating a VS2010 console app using C# language on .NetFramework 4. I

  • 0

I am creating a VS2010 console app using C# language on .NetFramework 4. I got a dll from a collegue of mine, the dll was developed in VS2010 VB on .Net Framework 3.5.

I added the reference to dll in the solution. I was able to identify the class and added one line to consturct the class. The intellisense idenified the class and showed me the overloaded methods for construction. Just after one line, I compiled the code. Now the compiler can not find the dll for some reason. I am getting the error

Error 4 The type or namespace name ‘MyClass’ could not be found (are you missing a using directive or an assembly reference?)

The one line I added have the curvey line under the type. If I remove the dll and add it again, the line disappears as if VS found the reference. Now I build it again, I get the same error and back to square one. Is there something I am doing wrong? This happens only to this solution with this reference.

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-21T11:20:16+00:00Added an answer on May 21, 2026 at 11:20 am

    Check your console application project properties. If it’s using the .NET 4 Client Profile and the .NET 3.5 dll is using features not in the client profile, it won’t work

    To fix it, change from .NET Framework 4 Client Profile to .NET Framework 4

    console app

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

Sidebar

Related Questions

I'm using VS2010,C# to develop an automation site (ASP.NET web app) which may have
I'm creating a custom workflow activity in VS2010 targeting .NET 3.5. The DLL is
I use VS2010,C# to develop my ASP.NET web app, I'm creating a vote page
I am creating a shortcut using WshShell VS2010 .Net 4 and ant to be
After creating a listview from VS2010 and adding it as a web part to
Creating extensions got much easier with Vs2010, but this seems not to be the
I am using vs2010 and I am creating custom tfs2010 build template. So I
I am creating a WPF application in VS2010. I am using multiple grid controls
I've created a C# WinForms application using VS2010. I'm new to creating user controls
Using VS2010, creating a new MVC 4 Web API project. Just wondering, can the

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.