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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:28:24+00:00 2026-05-21T04:28:24+00:00

Perhaps a dump question (But I’m not a super experienced user of .NET), but

  • 0

Perhaps a dump question (But I’m not a super experienced user of .NET), but it seems I have identical (or nearly so) versions of .NET 4.0 in two different places on my machine:

  1. C:\Windows\Microsoft.NET\Framework\v4.0.30319
  2. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0

    • In visual studio, when I go to add a reference for a C++/CLI project, it takes me to directory #2.

    • Also in visual studio, I can specify an assembly path to resolve #using References, (which allows me to use the symbolic paths in the property pages). There in can use the macro $(FrameworkDir) which resolves (at least on my machine) to C:\Windows\Microsoft.NET\Framework\ which is basically directory #1.

So which one should I use?

  • 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-21T04:28:25+00:00Added an answer on May 21, 2026 at 4:28 am

    First and foremost, you should use the Add New Reference dialog, .NET tab. It is configured by the installer to present the correct ones.

    For 4.0, you should always use 2, it contains the version isolated reference assemblies. They are special, not just a copy but stripped down to the metadata. They prevent you from accidentally using a public method or property that was added in a service pack. And break your program when it runs on a machine without the service pack. WaitHandle.WaitOne(int) was infamous for that, only available in .NET 2.0 SP2

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

Sidebar

Related Questions

Perhaps I'm not using the right terminology, but I'm struggling to try to find
Perhaps it is a dumb question but I am confused with the following: Are
this may seem like a very simple question, but I want to dump some
Perhaps any of you can help me with this anoying problem. I have long
Perhaps this is an effect of installing the new 4.5 beta, but my simulator
Perhaps a question with a simple answer. I'm trying to animate a ship (asteroids
Perhaps I'm a bit confused about when to use the waitForPageToLoad command, but what
Perhaps I'm at a misunderstanding in architecture - but if a machine has, say,
Perhaps I'm misunderstanding the technical definition of lower bound but I would expect if
I have a reasonably sized postresql dump (around 270 mb) that I'm importing into

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.