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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:05:03+00:00 2026-05-16T06:05:03+00:00

We upgraded our .net 3.5 projects (c#) to .net 4.0. When you look at

  • 0

We upgraded our .net 3.5 projects (c#) to .net 4.0. When you look at the project file there are two tags that I’m trying to make sense out of:

<RequiredTargetFramework>3.5</RequiredTargetFramework>
<TargetFrameworkVersion>4.0</TargetFrameworkVersion>

Why are there two seemingly similar tags with different values?

  • 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-16T06:05:04+00:00Added an answer on May 16, 2026 at 6:05 am

    The <RequiredTargetFramework> element was already present in your 3.5 project. It’s associated with the assembly <Reference> and only present on assemblies that are not available in .NET 2.0

    I don’t buy much stock in the single mention of it in MSDN, I don’t see how batch building has anything to do assembly references. Nor is it used in any of the 3.5 MSBuild .target files. I think the IDE simply uses it to put the warning icon next to the reference in the References node when you change the Target Framework to a version less than what’s needed to support the assembly.

    There are other elements like this in a project file that don’t affect MSBuild but have an effect in the IDE. Like <SubType> and <DependentUpon> in the <Compile> element.

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

Sidebar

Related Questions

I have upgraded my solution from VS2008. In our web project there are 2
I have several projects that I just upgraded from Visual Studio 2003 and ASP.NET
We've recently upgraded one of our SSRS2005 servers to SSRS2008 and have found that
Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
I just upgraded my browser to Safari 4 and find that our website is
I’m trying to upgrade our solution from VS2005 .NET 2.0 to VS2008 .NET 3.5.
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I have a very large project that uses Oracle ODP.NET. Right now it is
I'm currently stuck with an Installshield project for installing our ASP.Net Application and need
I've recently upgraded a page on our server from classic asp to asp.net 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.