Title: Message
I have done most of my build script using nmake and even though they can get fairly long there were lots of things that can be done easily in them that seem harder to do in NANT.
 
What I am trying to do is build one project at a time from a solution file.  I am trying to use:
 
<solution solutionfile="${solution.file}" configuration="${configuration}" outputdir="${TARGETDIR}" failonerror="False" >
    <projects>
        <include name="${project.file}" />
    </projects> 
</solution>
 
Now this seems to work some of the time and others I get the following error messages:
 
[solution] Error loading project D:\Projects\BoardCVS\BoardSW\Source\Diagnostics\DeviceFlashWizard\DeviceFlashWizard.vcproj.  Project GUID {4BC1EE82-783B-48D1-BBC8-051B50D04F94} already exists! Conflicting project is D:\Projects\BoardCVS\BoardSW\Source\Diagnostics\DeviceFlashWizard\DeviceFlashWizard.vcproj.
Is there any way to have only one project build at a time?
 
I also have a project that builds a dependency lib project first and then links to this library during it's own build.  In Studio .NET as well as my Make file this works fine, but in NANT it does not seem to link to this library and the build fails.   Is there a task or other setting that has to be set to have it link to this external library?
 
Thanks for any help that can be supplied.
 
Tim Mayert

Reply via email to