Hi all,

I've written a simple build script which has a target to build a list of
projects using the solution task like so:

        <solution configuration="${configuration}" verbose="true"
outputdir="${build.basedir}/bin" >
                <projects>
                        <include name="$build.basedir}/project1.vcproj"
/>
                        <include name="$build.basedir}/project2.csproj"
/>
                        ...
                        <include name="$build.basedir}/project15.vcproj"
/>
                </projects>
        </solution>

When I tried running the build script I get the following error:

                [solution] Starting solution build
                [solution] Included projects:
                [solution]  - C:\dot Net\project1.vcproj
                                ...
                [solution]  - C:\dot Net\project15.vcproj

        BUILD FAILED
        Error loading GUID of project 'myproject.csproj'.
                        Project file 'myproject.csproj' is not valid.
There's no "ProjectGuid" attribute on the <PropertyGroup ... />

Then if I try the above with project1 only i.e.

        <solution configuration="${configuration}" verbose="true"
outputdir="${build.basedir}/bin" >
                <projects>
                        <include name="$build.basedir}/project1.vcproj"
/>
                </projects>
        </solution>

I get the following error:

                [solution] Starting solution build
                [solution] Included projects:
                [solution]  - C:\dot Net\project1.vcproj
                [solution] Loading projects...
                [solution] Loading project 'C:\dot Net\project1.vcproj'.
        
        BUILD FAILED
        Project '' is not a valid Visual C++ project.

Can anyone help? An explanation and solution would be very much
appreciated!!!!!!!

Thanks in advance,

Regards,
Gemma Cameron

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to