Gert,

I'm answering your question in the mailing list rather than the bug
itself because I think my answer may prompt a larger discussion.  First,
let me describe our situation -

We have a VS.NET solution that was created before I started here.  One
of the projects is a documentation-only project that contains only Word
and other documents.  Since VS.NET doesn't have a generic project type,
the developers created a VB.NET library project and added the documents
to that.  They also marked that project to not be built by the solution.
When we run the NAnt solution task on our solution, it fails on this
project.

To answer your question, "is this really a big issue?"  Ultimately,
since building our solution with VS.NET doesn't fail, we want the
solution task to not fail as well.  However, my proposed fix is not the
only options, though the other option I can think of appears to be more
painful, though cleaner in my mind.

Option #2 - change the solution task to use solution configurations
instead of project configurations.  In other words, have the task look
at the solution configuration with the name in the "configuration"
attribute, determine which projects should be build for that
configuration and the configuration to use for each individual project.
Since our "documentation" project is marked to not be built, it would
skip this one and the build would not fail.

Of course, I realize that this is easier said than done - not so much
from a coding standpoint, but from an existing design standpoint since
the solution task can also be used to build individual projects.  This
throws a wrench into this idea because there is no way to do both
without making the "configuration" attribute do double duty, which would
most likely be confusing to some people.

The bottom line is that we want our solution to build without errors if
VS.NET builds it without errors.  We don't necessarily care which
solution is decided upon.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to