Alejandro,
try changing the defaultframework setting in the config file to net-1.1. Or you can specify the target framework on the commandline with the -k:net-1.1 option.
supportedRuntime specifies which runtime the nant executable itself will run under and has no bearing on which framework ( ie which system assemblies ) you build against.


To see what assemblies you are linking against use the -verbose switch which will show you the complete commandlines being passed to csc.exe.


Ian



Hello,

Has anyone had any experience using the latest build of Nant with the 1.1
framework?  When I think I am targeting the 1.1 framework it appears as if
my binaries are built under the 1.0 framework.  My Nunit tasks then fail
with PInvoke errors and other odd messages.

I target the 1.1 framework by commenting out the 1.0 supportedRuntime in the
exe.config.  This does not seem to help.

Any tips?

Thanks,

Alejandro



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users







------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to