task or msbuild.exe with NAnt?

The NAntContrib assumes .NET Framework V2.0. If you want to use .NET 3.5, you’ll need to call MsBuild.exe directly. As you upgrade to new versions of .NET, you need only modify the MSBuildPath property. Here’s an example: <property name=”MSBuildPath” value=”C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe”/> <target name=”build”> <exec program=”${MSBuildPath}”> <arg line=””${SolutionFile}”” /> <arg line=”/property:Configuration=${SolutionConfiguration}” /> <arg value=”/target:Rebuild” /> <arg value=”/verbosity:normal” … Read more

How do I use Nant/Ant naming patterns?

The rules are: a single star (*) matches zero or more characters within a path name a double star (**) matches zero or more characters across directory levels a question mark (?) matches exactly one character within a path name Another way to think about it is double star (**) matches slash (/) but single … Read more