Hello all,

 

I have a solution with two nested web projects. Let it be ProjectA and ProjectB. ProjectA has a virtual folder, ProjectB is a subproject of ProjectA and has virtual directory in ProjectA virtual directory. Also, ProjectA is C# project and ProjectB is VBNet project.

 

When I try to build my solution by following nant build file:

 

            <target name="build" >

                        <delete failonerror="false">

                                   <fileset>

                                               <include name="ProjectA\bin\*.dll" />

                                               <include name="ProjectBA\ProjectB\bin\*.dll" />

                                   </fileset>

                        </delete>

 

                        <solution solutionfile="MySolution.sln" configuration="release" failonerror="true" >

                                   <webmap>

                                               <map path="ProjectA\ProjectA.csproj" url="" />

                                               <map path="ProjectA\ProjectB\ProjectB.vbproj" url="" />

                                   </webmap>

                        </solution>

            </target>

 

My solution was built by in the console I see:

 

 [delete] Deleting 10 files.

 [solution] Starting solution build.

 [solution] Building 'System.Web' [Release] ...

 [solution] Building 'Core' [Release] ...

 [solution] Building 'Components' [Release] ...

 [solution] Building 'CoreTests' [Release] ...

 [solution] Skipping 'ProjectB' [Release] ...

 [solution] Building 'ProjectA' [Release] ...

 

BUILD SUCCEEDED

 

What is wrong in my build script? Or should I add some one else into target?

Any advices are welcome.

 

Regards,

            Dmitry

 

Reply via email to