Re: [Nant-users] how-to specify the framework version to use in order to build ?

2003-09-05 Thread [EMAIL PROTECTED]
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.dll 
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.itgt; - 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


Re: [Nant-users] how-to specify the framework version to use in order to build ?

2003-09-05 Thread Jaroslaw Kowalski
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.itgt; - 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


Re: [Nant-users] how-to specify the framework version to use in order to build ?

2003-09-05 Thread Gert Driesen
Title: R: [Nant-users] how-to specify the framework version to use in order to build ?




Alberto, 

this means that NAnt was not able to determine the 
location of the .NET Compact Framework, and therefor it does not consider it to 
be a valid framework, hence the error message.
Are you sure it's installed on your system ? Check the NAnt.exe.config 
file to see whereNAnt looks for ... 

You can also start NAnt in verbose mode (NAnt.exe -verbose 
-buildfile:.) to see more information.

Note :in the 0.8.4 nightly builds, the process for locating 
frameworks has been improved. You can download a recent nighlty build from 
http://nant.sourceforge.net/builds.

Let me know if you got it running.

Gert


  - Original Message - 
  From: 
  Alberto Cusinato 
  
  To: [EMAIL PROTECTED] 
  Sent: Friday, September 05, 2003 1:11 
  PM
  Subject: R: [Nant-users] how-to specify 
  the framework version to use in order to build ?
  
  Dear 
  Gert,
  I've 
  tried your suggestion with SharpZipLib. Please have a look to the following 
  log:
  
  C:\scambio\dotnet\zip\050SharpZipLib_SourceSamples\srcnant
  NAnt 
  version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
  http://nant.sourceforge.net
  Buildfile: file:///C:/scambio/dotnet/zip/050SharpZipLib_SourceSamples/src/SharpZlib.build
  Total time: 0 seconds.
  BUILD FAILED
  C:\scambio\dotnet\zip\050SharpZipLib_SourceSamples\src\SharpZlib..build(6,3):
  Error setting current Framework. netcf-1.0 is not a valid 
  framework identifier. Valid values are: net-1.1, net-1.0.
  
  Have 
  you seen something like ? Any idea ?
  Many 
  Thanks.
  Alberto 
  CusinatoResearch  
  DevelopmentAton Srl
  tel. 0422 6184 fax 0422 
  618585www.aton.it - 
  mailto:[EMAIL PROTECTED] 
  
-Messaggio 
originale-
Da: [EMAIL PROTECTED] 
[SMTP:[EMAIL PROTECTED]
Inviato: venerdì 5 settembre 2003 11.33
A: Alberto Cusinato; [EMAIL PROTECTED]
Oggetto: 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.dll" 
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.itgt; - lt;mailto:[EMAIL PROTECTED] 








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




Re: [Nant-users] how-to specify the framework version to use in order to build ?

2003-09-05 Thread Gert Driesen
Title: R: [Nant-users] how-to specify the framework version to use in order to build ?



Alberto's problem was fixed by manually adjusting 
the section .NET Compact Framework section in NAnt.exe.config. This should 
no longer be necessary in the 0.8.4 nightly builds ...

Gert

  - Original Message - 
  From: 
  Erv Walter 
  
  To: Alberto Cusinato 
  Cc: [EMAIL PROTECTED] 
  
  Sent: Friday, September 05, 2003 3:22 
  PM
  Subject: RE: [Nant-users] how-to specify 
  the framework version to use in order to build ?
  
  Also, confirm that you have Visual Studio 2003 
  Professional or higher installed on the machine you're building from. 
  The Compact Framework is not part of the free .NET SDK, so you have to have 
  Visual Studio installed to build against it.
  
  
  From: Gert Driesen 
  [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 
  6:27 AMTo: Alberto CusinatoCc: [EMAIL PROTECTED]Subject: 
  Re: [Nant-users] how-to specify the framework version to use in order to build 
  ?
  
  
  Alberto, 
  
  this means that NAnt was not able to determine 
  the location of the .NET Compact Framework, and therefor it does not consider 
  it to be a valid framework, hence the error message.
  Are you sure it's installed on your system ? Check the 
  NAnt.exe.config file to see whereNAnt looks for ... 
  
  You can also start NAnt in verbose mode (NAnt.exe -verbose 
  -buildfile:.) to see more information.
  
  Note :in the 0.8.4 nightly builds, the process for locating 
  frameworks has been improved. You can download a recent nighlty build 
  from http://nant.sourceforge.net/builds.
  
  Let me know if you got it running.
  
  Gert
  
  
- Original Message - 
From: 
Alberto 
Cusinato 
To: [EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 1:11 
PM
Subject: R: [Nant-users] how-to specify 
the framework version to use in order to build ?

Dear Gert,
I've tried your suggestion with SharpZipLib. Please have a look to 
the following log:

C:\scambio\dotnet\zip\050SharpZipLib_SourceSamples\srcnant
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry 
Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/scambio/dotnet/zip/050SharpZipLib_SourceSamples/src/SharpZlib.build
Total time: 0 seconds.
BUILD FAILED
C:\scambio\dotnet\zip\050SharpZipLib_SourceSamples\src\SharpZlib...build(6,3):
Error setting current Framework. netcf-1.0 is not a valid 
framework identifier. Valid values are: net-1.1, net-1.0.

Have you seen something like ? Any idea ?
Many Thanks.
Alberto 
CusinatoResearch  
DevelopmentAton 
Srl
tel. 0422 6184 fax 0422 
618585www.aton.it - 
mailto:[EMAIL PROTECTED] 

  -Messaggio 
  originale-
  Da: [EMAIL PROTECTED] 
  [SMTP:[EMAIL PROTECTED]
  Inviato: venerdì 5 settembre 2003 11.33
  A: Alberto Cusinato; 
[EMAIL PROTECTED]
  Oggetto: 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.dll" 
  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.itgt; - lt;mailto:[EMAIL PROTECTED] 
  
  
  
  
  
  
  
  
  ---
  This sf.net email is 
  sponsored by:ThinkGeek