views:

553

answers:

1

I am trying to publish an ASP.Net website through NAnt/MSBuild calls. MSBuild is called using the following arguments:

<arg value="SubsManager.sln" />
<arg value="/t:ResolveReferences" />
<arg value="/t:_CopyWebApplication" />
<arg value="/p:Configuration=Release" />
<arg value="/p:OutDir=..\builda\Release\Web\bin\" />
<arg value="/p:WebProjectOutputDir=..\Publish\" />
<arg value="/logger:C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll" />
<arg value="/verbosity:detailed" />

When I try the build under cruise control I get the following error: error MSB4057: The target "ResolveReferences" does not exist in the project.

I would appreciate any help on this issue!

+2  A: 

MSBuild Deployment task needs a project (and not a solution) to run.........

Nasser