Hi gary,

Thanks for your speedy and excellent help! Problem solved. Putting the
pre-compiled binaries into the outputdir worked and references are
collected properly.

You said

                <snip>
                Why are you dealing with this at build time instead of
test time?  If I understand the problem, you want the plugin to work
with any deployed framework (and I assume you mean something other than
the .Net framework version).  In that case, building against a specific
set of binaries just tells you that they can be built for any framework.
It doesn't tell you that once you have a build against one set of
binaries, it can be deployed against a different framework in the field.
                </snip>

You raise a good point: compilable code is not the same as runnable
code, but it is a start. Testing is phase two.. (and hey, if they don't
write tests, compilable is all I have..). And when I say 'framework' I
mean the our client-server-plugin-application-framework thing, not the
.NET framework.

You also said:

                <snip>
                My reading of the documentation for the solution task
says that NAnt is working as advertised.  It says that it automatically
converts file references into project references.  I think you might be
able to work around this by changing things so that the prebuilt
binaries are in the same output directory as the ones you're building.
Alternatively, I wonder what would happen if you left out the
<referenceprojects> part entirely.  I don't see why NAnt would need them
in this case, for the same reason it wouldn't need them if you had some
random third party .dll without a project at all.
                </snip>

Yes, I think that there is no bug here, just that I expected things to
work when I put the pre-compiled binaries in the <assemblyfolders> item,
but putting them in the outputdir works so what the hell. Leaving out
the <referenceprojects> tag doesn't work because then I get the error

Project with GUID '{E147649E-5C14-4C89-B783-632FA51FE556}' must be
included for the build to work.

Not unreasonably, I think.




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to