Hi,

 

I’m having problems getting the following to work in nant-0.85-rc1:

       <solution solutionfile="${SolutionDir}\Core.sln" failonerror="true" configuration="${BuildConfiguration}" verbose="true">

             <webmap>

                    <map url="http://localhost/MyService/MyService.csproj" path="C:\working\VisionAIR\2.0_Development\Core\MyManager\MyService" />

             </webmap>

      </solution>

 

The web service is fully functional and the source code for the service is located at the absolute path specified. The URL was taken verbatim from the VS solution file.

 

I receive the following 2 errors:

     [echo] ************************* Build Solution: ..\\Core.sln

     [echo]

 [solution] Starting solution build.

 

BUILD FAILED

 

Error checking whether 'C:\working\VisionAIR\2.0_Development\Core\MyManager\MyService' is an enterprise template project.

    Access to the path "C:\working\VisionAIR\2.0_Development\Core\MyManager\MyService" is denied.

 

When searching on the web, there seems to be some discussion on the first error, but nothing appears to correct that issue. I can’t seen to find anything on why Nant can’t access my web service directory.

 

If I build it by using

 

       <exec program="${external.devenv}" commandline='/build "${BuildConfiguration}" "${SolutionDir}\Core.sln" /out "out_Schemas.txt"' failonerror="true"/>

 

It builds fine, but I would prefer to be able to use the solution tag as there are other projects that I wish to exclude from the build.

 

Does anyone have any suggestions?

 

Cheers

Joe Mierwa

Reply via email to