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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:38:08+00:00 2026-06-06T00:38:08+00:00

Where is the configuration setting in nant that sets which version of MSBuild to

  • 0

Where is the configuration setting in nant that sets which version of MSBuild to use?

Nant wants to use 3.5 when it needs to use 4.0.

  • 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-06T00:38:10+00:00Added an answer on June 6, 2026 at 12:38 am

    I wrote a blog entry a few years ago that explains how to leverage any version of MSBuild from your NAnt build script. Essentially, you would be using the <exec> node to make the call to MSBuild as it is installed on your computer.

    http://enterpriseyness.com/2009/12/continuous-integration-with-cruise-control-net-nant/

    <target name=”build”>
      <exec program=”${MSBuildPath}”>
        <arg line=’”${SolutionFile}”‘ />
        <arg line=”/property:Configuration=${SolutionConfiguration}” />
        <arg value=”/target:Rebuild” />
        <arg value=”/verbosity:normal” />
        <arg value=”/nologo” />
        <arg line=’/logger:”C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll”‘/>
      </exec>
    </target>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a Nant script that executes MSBUILD.exe to compile a project on my
I upgraded from 0.97 I believe and was even using the configuration setting that
There is a collection of devices types, some of which support configuration setting(s). I'm
I trying to use nant to build a solution via msbuild. The problem is
Based on a configuration setting I'd like to direct users to a This site
I'm developing a custom search control and setting its configuration based on this sample
Setting default values for System Configuration fields is well understood (via Chapagain and blog
I'm having issues properly setting up my Hibernate configuration. After trying to extend the
What are your favorite Git configuration settings which make your life easy while working
How can I prepare the configuration settings (App.config, maybe?) I need to use Enterprise

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.