Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Weird issue with Web Deployment projects 2010

i'm in the process or upgrading my CI configuration to Web Deployment projects 2010 (from 2008)

i'm geting a really strange issue durin build as shown below - i've been looking into it a a few hours to no resolve, and am starting to think the issue is elsewhere...)

C:\Program Files (x86)\MSBuild\Microsoft\WebDeployment\v10.0\Microsoft.WebDeployment.targets(103, 46): error MSB4092: An unexpected token ")" was found at character position 174 in condition "'$(_ExcludeWAPBaseIntermediateOutputPath)' == '' And !$([System.IO.Path]::IsPathRooted($(_ExcludeWAPBaseIntermediateOutputPath)))".

like image 522
Doug Avatar asked Sep 12 '10 03:09

Doug


1 Answers

I was also facing the same issue. Resolved by using correct tool version for MSBuild which is 4.0

<tasks>
  <msbuild>
    <executable>**C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe**</executable>
    <workingDirectory></workingDirectory>
    <projectFile></projectFile>
    <buildArgs>/noconsolelogger </buildArgs>
    <targets>RunFxcop</targets>
    <logger>C:\Program Files\CruiseControl.NET\Server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
    <timeout>3600</timeout>
  </msbuild>
</tasks>
like image 136
Deepak A Avatar answered Oct 01 '22 03:10

Deepak A