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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:55:34+00:00 2026-06-05T23:55:34+00:00

Before, I was using VS 2008 command prompt and when I do clrver I

  • 0

Before, I was using VS 2008 command prompt and when I do

clrver

I got

Versions installed on the machine:
v1.1.4322
v2.0.50727

Now with Visual Studio 2010 command prompt I get :

Versions installed on the machine:
v1.1.4322
v2.0.50727
v4.0.30319

I want to know if there is a way to compile my C# code with the VS 2010 command line using the Framework 2.0 and not 4.0

— Edit —

Is there another way than going in the properties of the project?

  • 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-05T23:55:36+00:00Added an answer on June 5, 2026 at 11:55 pm

    Use MSBuild command line and pass the ToolsVersion (2.0,3.0,3.5,4.0) and TargetFrameworkVersion (v2.0,v3.0,v3.5,v4.0) properties:

    msbuild your.sln /p:TargetFrameworkVersion=v2.0;ToolsVersion=3.5
    

    The UI option is described here.

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

Sidebar

Related Questions

Now using VS 2008 Before I used VB 6, now I Upgraded to VB
I'm using Visual Studio 2008, developing a winforms app. I have my database connection
I'm using Visual Studio 2008 (Asp.net (c#)) and SQl Server 2005 I have a
I'm developing COM Interoperable classes using Visual Studio 2008. And consuming these classes on
I've build C++ program using Visual Studio 2008. Both release and debug version are
I'm using Visual Studio 2008 to build a Solution with two Projects: a C#
I have the following C++ program and ran it using Visual Studio 2008 on
Working with Visual Studio (I'm using 2008) I have started to notice that when
I am using visual studio 2008 for developing. My program needs to deal with
I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on

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.