I\'ve just tested this on PowerShell v1.0. Setup is as follows:
Id CommandLine -- ----------- 1 $msbuild = \"C:\\Windows\\Microsoft.NET\\Framework\\v3.5\
You can also try using the free Invoke-MsBuild powershell script/module. This essentially gives you an Invoke-MsBuild PowerShell cmdlet that you can call instead of trying to invoke the msbuild.exe manually yourself.