Hi all!

don't you think that it would be a good idea to have:

<includes name="mscorlib.dll" frameworkassembly="true" />

for such case. Additionaly this would be an easy way to get rid of

<includes name="..." asis="true" />

which relies on csc.exe finding its own libraries, which I think is ugly.

Jarek

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Alberto Cusinato" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, September 05, 2003 11:33 AM
Subject: Re: [Nant-users] how-to specify the framework version to use in
order to build ?


> Hi Alberto,
>
> You can use the following to set the current framework to .NET Compact
Framework 1.0 :
>
> <property name="nant.settings.currentframework" value="netcf-1.0" />
>
> to compile an assembly using that framework do the following :
>
> <csc nostdlib="true" noconfig="true" ....>
>     <sources>
>         <includes name="**/*.cs" />
>     </sources>
>     <references defaultexcludes="true">
>         <includes
name="${nant.settings.currentframework.frameworkassemblydirectory}/mscorlib.
dll"
>                         fromPath="false" />
>         <includes
name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dl
l" fromPath="false" />
>     </references>
> </csc>
>
>
> Hope this helps,
>
> Gert
>
> ------------------------
>  "Alberto Cusinato" <[EMAIL PROTECTED]> wrote:
> ------------------------
>
> >
> >
> >
> >how-to specify the framework version to use in order to build
> >?
> >
> >
> >
> >
> >Dear NAnt
> >Support,
> >
> >how is it
> >possible to specify the Framework version of .NET, I mean 1.1 instead of
> >1.0 or even compact framework, inside the .build file
> >?
> >
> >Best
> >Regards.
> >
> >
> >Alberto
> >Cusinato
> >Research &amp; Development
> >Aton
> >Srl
> >
> >
> >tel. 0422 6184 fax
> >0422 618585
> >&lt;www.aton.it&gt; - &lt;mailto:[EMAIL PROTECTED]&gt;
> >
> >
> >
> >
> >
> >
> >
> >-------------------------------------------------------
> >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
>



-------------------------------------------------------
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