RE: [Nant-users] File sizes

2005-05-03 Thread Aaron Elder








From
what I can tell, no.  It really is very strange… it only seems to happen
for VERY small projects.  My other 4 projects that are over 80k are all fine. 
It is just the projects (I converted another one now as well) that are really
small… 1k AssemblyInfo, 2k Class file that have this problem.

 



Aaron
Elder
Director, Software Development

invokesystems
solid
technology. sound thinking.
http://www.invokesystems.com 

v: 425.818.5262
c: 425.761.7940
f: 425.818.5220
e: [EMAIL PROTECTED]











From: Headlam, Norman
[mailto:[EMAIL PROTECTED] 
Sent: Monday, May 02, 2005 11:42 PM
To: Aaron Elder; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] File sizes



 

Assuming
all setting are the same (i.e., both are debug or release, etc.) does the VS
solution/project have any resource files included?

 



Thanks, 

Norman Headlam 
Distributed
Business Solutions (DBS) 
Phone:
817-474-9933 
SkyTel:  
Email: [EMAIL PROTECTED]  















From: Aaron Elder [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 02, 2005 6:07 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] File sizes



 

Hey everyone,

 

I just recently converted a Visual Studio project to use
Nant.  The file has only two VERY simply CS files (AssemblyInfo + 1 code
file) and there are no external dependencies.

 

When I compile the DLL in VS, the file size is 20k…
when I compile the same code in Nant the file is 7k.

 

Debug, trace, optimization settings are all identical
between VS and Nant.  The files are identical.

 

Does anybody have any idea what may be going on?

 

Aaron Elder
Director, Software Development

invokesystems
solid
technology. sound thinking.
http://www.invokesystems.com 

v: 425.818.5262
c: 425.761.7940
f: 425.818.5220
e: [EMAIL PROTECTED]

 








RE: [Nant-users] File sizes

2005-05-03 Thread Gert Driesen



Aaron,
 
Can you send me a small repro of this issue 
?
 
Thanks !
 
Gert

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Aaron 
  ElderSent: dinsdag 3 mei 2005 9:25To: Headlam, Norman; 
  nant-users@lists.sourceforge.netSubject: RE: [Nant-users] File 
  sizes
  
  
  From what I can tell, 
  no.  It really is very strange… it only seems to happen for VERY small 
  projects.  My other 4 projects that are over 80k are all fine.  It 
  is just the projects (I converted another one now as well) that are really 
  small… 1k AssemblyInfo, 2k Class file that have this 
  problem.
   
  
  Aaron 
  ElderDirector, 
  Software Developmentinvokesystemssolid 
  technology. sound thinking.http://www.invokesystems.com 
  v: 425.818.5262c: 425.761.7940f: 425.818.5220e: [EMAIL PROTECTED]
  
  
  
  
  From: Headlam, Norman 
  [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 11:42 
  PMTo: Aaron Elder; 
  nant-users@lists.sourceforge.netSubject: RE: [Nant-users] File 
  sizes
   
  Assuming all setting 
  are the same (i.e., both are debug or release, etc.) does the VS 
  solution/project have any resource files included?
   
  
  Thanks, 
  Norman 
  Headlam Distributed Business 
  Solutions (DBS) Phone: 
  817-474-9933 SkyTel: 
   Email: [EMAIL PROTECTED]  
  
  
  
  
  
  From: Aaron Elder 
  [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 
  6:07 PMTo: nant-users@lists.sourceforge.netSubject: 
  [Nant-users] File sizes
   
  Hey 
everyone,
   
  I just recently converted a Visual 
  Studio project to use Nant.  The file has only two VERY simply CS files 
  (AssemblyInfo + 1 code file) and there are no external 
  dependencies.
   
  When I compile the DLL in VS, the 
  file size is 20k… when I compile the same code in Nant the file is 
  7k.
   
  Debug, trace, optimization 
  settings are all identical between VS and Nant.  The files are 
  identical.
   
  Does anybody have any idea what 
  may be going on?
   
  Aaron 
  ElderDirector, Software 
  Developmentinvokesystemssolid 
  technology. sound thinking.http://www.invokesystems.com 
  v: 425.818.5262c: 425.761.7940f: 425.818.5220e: [EMAIL PROTECTED]
   


Re: [Nant-users] NunitReport or NUnit2Report task with Nant 0.85RC3?

2005-05-03 Thread Dang, Michael (GO+ IT - Houston)
Title: Re: [Nant-users] NunitReport or NUnit2Report task with Nant 0.85RC3?






Hmmm... Good point.

I modified the stylesheets in NUnit2Report and used the style task.  Works like a charm.

This approach is better than relying on the NUnit2Report or Nunitreport tasks that have an increased chance of being deprecated and not updated.  Plus, a little more flexible on what I can do with the stylesheets.

Michael Dang






RE: [Nant-users] File sizes

2005-05-03 Thread Castro, Edwin Gabriel (Firing Systems Engr.)



Hi Aaron,
 
Out of curiosity, are both versions functional? I assume 
they are. Have you tried to using ildasm (and similar tools) to inspect both 
assemblies?
 
--
Edwin


  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Aaron 
  ElderSent: Monday, May 02, 2005 4:07 PMTo: 
  nant-users@lists.sourceforge.netSubject: [Nant-users] File 
  sizes
  
  
  Hey 
  everyone,
   
  I just 
  recently converted a Visual Studio project to use Nant.  The file has 
  only two VERY simply CS files (AssemblyInfo + 1 code file) and there are no 
  external dependencies.
   
  When I 
  compile the DLL in VS, the file size is 20k… when I compile the same code in 
  Nant the file is 7k.
   
  Debug, 
  trace, optimization settings are all identical between VS and Nant.  The 
  files are identical.
   
  Does 
  anybody have any idea what may be going on?
   
  Aaron 
  ElderDirector, Software 
  Developmentinvokesystemssolid 
  technology. sound thinking.http://www.invokesystems.com 
  v: 425.818.5262c: 425.761.7940f: 425.818.5220e: [EMAIL PROTECTED]
   


RE: [Nant-users] File sizes

2005-05-03 Thread Foster, Richard - PAL



Aaron,
 
One other thought. Do you have a specific application 
icon? If not, perhaps Visual Studio is adding in the default application icon 
resource, but NAnt isn't? I wouldn't expect that to be 13K worth, but it could 
be a contributing factor.
 
Regards,
Richard


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Castro, 
Edwin Gabriel (Firing Systems Engr.)Sent: Tuesday, May 03, 2005 
12:25To: Aaron Elder; 
nant-users@lists.sourceforge.netSubject: RE: [Nant-users] File 
sizes

Hi Aaron,
 
Out of curiosity, are both versions functional? I assume 
they are. Have you tried to using ildasm (and similar tools) to inspect both 
assemblies?
 
--
Edwin


  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Aaron 
  ElderSent: Monday, May 02, 2005 4:07 PMTo: 
  nant-users@lists.sourceforge.netSubject: [Nant-users] File 
  sizes
  
  
  Hey 
  everyone,
   
  I just 
  recently converted a Visual Studio project to use Nant.  The file has 
  only two VERY simply CS files (AssemblyInfo + 1 code file) and there are no 
  external dependencies.
   
  When I 
  compile the DLL in VS, the file size is 20k… when I compile the same code in 
  Nant the file is 7k.
   
  Debug, 
  trace, optimization settings are all identical between VS and Nant.  The 
  files are identical.
   
  Does 
  anybody have any idea what may be going on?
   
  Aaron 
  ElderDirector, Software 
  Developmentinvokesystemssolid 
  technology. sound thinking.http://www.invokesystems.com 
  v: 425.818.5262c: 425.761.7940f: 425.818.5220e: [EMAIL PROTECTED]
   


[Nant-users] NAnt equivalent to Ant's

2005-05-03 Thread Brian Cantoni
I've been using NAnt for a few weeks and have migrated our 
Win32 app build to it. I'm looking for a way to load a set 
of properties from an external file, similar to Ant's 
 method.

NAnt's  does not allow files as a source, so I'm 
curious what others have done for this type of solution?

Ant seems to be able to read files like this:
  # comment
  Property1=Value1
  Property2=Value2
  etc.
It seems that creating a custom task or script would work. 
Does anyone have an example they'd care to share?

thanks,
brian
--
Brian Cantoni 

---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] NAnt equivalent to Ant's

2005-05-03 Thread Merrill Cornish
Brian,

You can create a NAnt script that contains only  statements rather 
than targets.  Then you can use an  task in another NAnt script to 
call the properties-only script.  All of the properties in the properties-only 
script will then be defined in the calling script.

The effect is about the same as the Ant properties file, but the syntax is 
different.

Merrill


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] Solution task throws exception on tlbimp word.olb

2005-05-03 Thread Gert Driesen



Hi Jeremy,
 
Can you send me a small repro for this issue 
?
 
Thanks !
 
Gert

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy P. 
  Owens-BoggsSent: donderdag 28 april 2005 16:38To: 
  nant-users@lists.sourceforge.netSubject: [Nant-users] Solution task 
  throws exception on tlbimp word.olb
  
  
  The solution task is throwing an 
  exception when importing type libraries from the MS Office.dll’s.  
  The following are  tlbimp 
  –
  Office – 
  MSO.dll
  VBIDE – 
  VBE6EXT.OLB
  EXCEL – 
  EXCEL.exe
  Microsoft.Office.Core – 
  MSO.DLL
  Word – 
  MSWORD.OLB
   
  NAnt 0.85 
  (Build 0.85.1936.0; nightly; 4/20/2005)
  Copyright (C) 2001-2005 Gerry 
  Shaw
  http://nant.sourceforge.net
   
  Buildfile: 
  file:///C:/snapBuild/AlpsNet.build
  Target framework: Microsoft .NET 
  Framework 1.1
  Target(s) specified: 
  build
   
  [loadtasks] Scanning assembly 
  "NAnt.Contrib.Tasks" for 
  extensions.
   
  build:
   
   [solution] 
  Starting solution build.
   [solution] 
  Building 'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces
  ' [Release] 
  ...
   [solution] 
  Building 'Microsoft.ApplicationBlocks.ExceptionManagement' 
  [Release]
   ...
   [solution] 
  Building 'snapWebControls' [Release] ...
   [solution] 
  Building 'LoggingObject' [Release] 
  ...
   [solution] 
  Building 'Microsoft.ApplicationBlocks.Data' 
  [Release] ...
   [solution] 
  Building 'ALPSNet.Common.DataSets' [Release] ...
   [solution] 
  Building 'ALPSNETXBLL' [Release] 
  ...
   [solution] 
  Building 'ALPSNET' [Release] 
  ...
     
  [tlbimp]
     
  [tlbimp] Unhandled 
  Exception: System.ArgumentException: Item 
  has
  already been 
  added.  Key in dictionary: 
  "2df8d04c-5bfa-101b-bde5-00aa0044de52"
  Key being added: 
  "2df8d04c-5bfa-101b-bde5-00aa0044de52"
     
  [tlbimp]    at System.Collections.Hashtable.Insert(Object key, 
  Ob
  ject nvalue, Boolean add)
     
  [tlbimp]    at System.Collections.Hashtable.Add(Object key, Objec
  t 
  value)
     
  [tlbimp]    at TlbImp.TlbImp.ParseArguments(String[] aArgs, TlbIm
  pOptions& 
  Options, Int32& ReturnCode)
     
  [tlbimp]    at TlbImp.TlbImp.Main(String[] aArgs)
   
  BUILD FAILED - 0 non-fatal 
  error(s), 6 warning(s)
   
  External Program Failed: 
  C:\Program Files\Microsoft Visual Studio .NET 
  2003\SDK\
  v1.1\bin\tlbimp.exe (return code 
  was -532459699)
   
  Total time: 8.5 
  seconds.
   
   
  C:\snapBuild>
   
   


RE: [Nant-users] File sizes

2005-05-03 Thread Aaron Elder
Well this is just crazy.  I have use ILDASM to compare the IL of all the code 
and it is identical!  I also compared the manifests, it turns out the manifest 
of the smaller DLL is actually BIGGER that manifest of the larger DLL (it had a 
text change in the Assembly Info).

I am going to re-create my VS project and see if I can reproduce this in a 
simpler manner that I can then post.

BTW - The application is a DLL, so I do no think there is an ICO resource in 
the larger version.



Aaron Elder
Director, Software Development

invokesystems
solid technology. sound thinking.
http://www.invokesystems.com 


-Original Message-
From: Thibaut Barrère [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 03, 2005 1:09 PM
To: Foster, Richard - PAL
Cc: Aaron Elder; nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] File sizes

Hi Aaron

maybe (not sure it's allowed though) you could post the two binaries
on the list so we can have a look at it ? it's rather interesting.

cheers

2005/5/3, Foster, Richard - PAL <[EMAIL PROTECTED]>:
> Aaron,
>  
> One other thought. Do you have a specific application icon? If not, perhaps
> Visual Studio is adding in the default application icon resource, but NAnt
> isn't? I wouldn't expect that to be 13K worth, but it could be a
> contributing factor.
>  
> Regards,
> Richard
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Castro, Edwin Gabriel (Firing Systems Engr.)
> Sent: Tuesday, May 03, 2005 12:25
> To: Aaron Elder; nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> 
> Hi Aaron,
>  
> Out of curiosity, are both versions functional? I assume they are. Have you
> tried to using ildasm (and similar tools) to inspect both assemblies?
>  
> --
> Edwin
> 
> 
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Aaron Elder
> Sent: Monday, May 02, 2005 4:07 PM
> To: nant-users@lists.sourceforge.net
> Subject: [Nant-users] File sizes
> 
> 
> 
> 
> Hey everyone,
> 
>  
> 
> I just recently converted a Visual Studio project to use Nant.  The file has
> only two VERY simply CS files (AssemblyInfo + 1 code file) and there are no
> external dependencies.
> 
>  
> 
> When I compile the DLL in VS, the file size is 20k... when I compile the same
> code in Nant the file is 7k.
> 
>  
> 
> Debug, trace, optimization settings are all identical between VS and Nant. 
> The files are identical.
> 
>  
> 
> Does anybody have any idea what may be going on?
> 
>  
> 
> Aaron Elder
>


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Build Failed white trying to reference external dlls

2005-05-03 Thread Madhavi Atmakur








Hi,

 

I am referencing 2 .net dlls in my project. Dlls are stored
in a Dlls folder under the wwwroot\Project folder

 

Getting following error while trying to run the build from
nant

 

Couldn't find referenced assembly
'C:\DOCUME~1\MADHAV~1\LOCALS~1\Temp\1\lebazmpt

\http___management.web-loans-dev.com_management.vbproj\Dlls\blong.dll'.

 

The blong.dll exists under Dlls folder. I am not
sure why nant is not recongnizing that.

I am trying to compile a .net project using Nant for
the first time. Any help is welcome.

 

Thanks for your time.

Here is my
build file



       

    

    

    

      

    

     

 

    

   


   


    Output file doesn't
exist in ${expected.output}

    

    



 

Here is my Solution
file

Microsoft Visual Studio Solution File, Format
Version 8.00

Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}")
= "management", "http://management.web-loans-dev.com/management.vbproj",
"{80CFD2AE-E52B-4DEF-A098-CB433EF09427}"

  ProjectSection(ProjectDependencies)
= postProject

  EndProjectSection

EndProject

Global

  GlobalSection(SolutionConfiguration)
= preSolution

    Debug
= Debug

    Release
= Release

  EndGlobalSection

  GlobalSection(ProjectConfiguration)
= postSolution

    {80CFD2AE-E52B-4DEF-A098-CB433EF09427}.Debug.ActiveCfg
= Debug|.NET

    {80CFD2AE-E52B-4DEF-A098-CB433EF09427}.Debug.Build.0
= Debug|.NET

    {80CFD2AE-E52B-4DEF-A098-CB433EF09427}.Release.ActiveCfg
= Release|.NET

    {80CFD2AE-E52B-4DEF-A098-CB433EF09427}.Release.Build.0
= Release|.NET

  EndGlobalSection

  GlobalSection(ExtensibilityGlobals)
= postSolution

  EndGlobalSection

  GlobalSection(ExtensibilityAddIns)
= postSolution

  EndGlobalSection

EndGlobal

 

Here is part
of the project file that references the dlls

 



   
Name = "blong"

   
AssemblyName = "blong"

   
HintPath = "Dlls\blong.dll"

   
/>

   


   
Name = "RichTextBox"

   
AssemblyName = "RichTextBox"

   
HintPath = "Dlls\RichTextBox.dll"

   
/>

 

 

Thanks

Madhavi

 








RE: [Nant-users] File sizes

2005-05-03 Thread Ray Johnson

This may be due to code optimization settings.  We have seen this as well
where the "default" optimizations (and thus some of the compiler flags) are
different between Nant and different versions of VS.Net.

We worked around this my explicitly setting the use of certain flags in
VS.Net.  We did this by setting it to something else and then changing it
back.  This in turn forces the appropriate attribute to be written in the
project file which will force Nant not to use a default value but use the
set value.

Ray 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Elder
Sent: Tuesday, May 03, 2005 1:54 PM
To: Thibaut Barrère; Foster, Richard - PAL
Cc: nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] File sizes

Well this is just crazy.  I have use ILDASM to compare the IL of all the
code and it is identical!  I also compared the manifests, it turns out the
manifest of the smaller DLL is actually BIGGER that manifest of the larger
DLL (it had a text change in the Assembly Info).

I am going to re-create my VS project and see if I can reproduce this in a
simpler manner that I can then post.

BTW - The application is a DLL, so I do no think there is an ICO resource in
the larger version.



Aaron Elder
Director, Software Development

invokesystems
solid technology. sound thinking.
http://www.invokesystems.com 


-Original Message-
From: Thibaut Barrère [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 03, 2005 1:09 PM
To: Foster, Richard - PAL
Cc: Aaron Elder; nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] File sizes

Hi Aaron

maybe (not sure it's allowed though) you could post the two binaries on the
list so we can have a look at it ? it's rather interesting.

cheers

2005/5/3, Foster, Richard - PAL <[EMAIL PROTECTED]>:
> Aaron,
>  
> One other thought. Do you have a specific application icon? If not, 
> perhaps Visual Studio is adding in the default application icon 
> resource, but NAnt isn't? I wouldn't expect that to be 13K worth, but 
> it could be a contributing factor.
>  
> Regards,
> Richard
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Castro, 
> Edwin Gabriel (Firing Systems Engr.)
> Sent: Tuesday, May 03, 2005 12:25
> To: Aaron Elder; nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> 
> Hi Aaron,
>  
> Out of curiosity, are both versions functional? I assume they are. 
> Have you tried to using ildasm (and similar tools) to inspect both
assemblies?
>  
> --
> Edwin
> 
> 
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Aaron 
> Elder
> Sent: Monday, May 02, 2005 4:07 PM
> To: nant-users@lists.sourceforge.net
> Subject: [Nant-users] File sizes
> 
> 
> 
> 
> Hey everyone,
> 
>  
> 
> I just recently converted a Visual Studio project to use Nant.  The 
> file has only two VERY simply CS files (AssemblyInfo + 1 code file) 
> and there are no external dependencies.
> 
>  
> 
> When I compile the DLL in VS, the file size is 20k... when I compile 
> the same code in Nant the file is 7k.
> 
>  
> 
> Debug, trace, optimization settings are all identical between VS and Nant.

> The files are identical.
> 
>  
> 
> Does anybody have any idea what may be going on?
> 
>  
> 
> Aaron Elder
>


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win
an NEC 61 plasma display. Visit http://www.necitguy.com/?r
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users



---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] File sizes

2005-05-03 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Wow!! If that really is the cause then I'm amazed! Whatever Nant uses as 
default optimizations result in a 65% reduction in size! Well, at least in this 
case... 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Ray Johnson
> Sent: Tuesday, May 03, 2005 3:36 PM
> To: 'Aaron Elder'; 'Thibaut Barrère'; 'Foster, Richard - PAL'
> Cc: nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> 
> This may be due to code optimization settings.  We have seen 
> this as well where the "default" optimizations (and thus some 
> of the compiler flags) are different between Nant and 
> different versions of VS.Net.
> 
> We worked around this my explicitly setting the use of 
> certain flags in VS.Net.  We did this by setting it to 
> something else and then changing it back.  This in turn 
> forces the appropriate attribute to be written in the project 
> file which will force Nant not to use a default value but use 
> the set value.
> 
> Ray 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Aaron Elder
> Sent: Tuesday, May 03, 2005 1:54 PM
> To: Thibaut Barrère; Foster, Richard - PAL
> Cc: nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> Well this is just crazy.  I have use ILDASM to compare the IL 
> of all the code and it is identical!  I also compared the 
> manifests, it turns out the manifest of the smaller DLL is 
> actually BIGGER that manifest of the larger DLL (it had a 
> text change in the Assembly Info).
> 
> I am going to re-create my VS project and see if I can 
> reproduce this in a simpler manner that I can then post.
> 
> BTW - The application is a DLL, so I do no think there is an 
> ICO resource in the larger version.
> 
> 
> 
> Aaron Elder
> Director, Software Development
> 
> invokesystems
> solid technology. sound thinking.
> http://www.invokesystems.com 
> 
> 
> -Original Message-
> From: Thibaut Barrère [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 03, 2005 1:09 PM
> To: Foster, Richard - PAL
> Cc: Aaron Elder; nant-users@lists.sourceforge.net
> Subject: Re: [Nant-users] File sizes
> 
> Hi Aaron
> 
> maybe (not sure it's allowed though) you could post the two 
> binaries on the list so we can have a look at it ? it's 
> rather interesting.
> 
> cheers
> 
> 2005/5/3, Foster, Richard - PAL <[EMAIL PROTECTED]>:
> > Aaron,
> >  
> > One other thought. Do you have a specific application icon? If not, 
> > perhaps Visual Studio is adding in the default application icon 
> > resource, but NAnt isn't? I wouldn't expect that to be 13K 
> worth, but 
> > it could be a contributing factor.
> >  
> > Regards,
> > Richard
> > 
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf 
> Of Castro, 
> > Edwin Gabriel (Firing Systems Engr.)
> > Sent: Tuesday, May 03, 2005 12:25
> > To: Aaron Elder; nant-users@lists.sourceforge.net
> > Subject: RE: [Nant-users] File sizes
> > 
> > 
> > Hi Aaron,
> >  
> > Out of curiosity, are both versions functional? I assume they are. 
> > Have you tried to using ildasm (and similar tools) to inspect both
> assemblies?
> >  
> > --
> > Edwin
> > 
> > 
> > 
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Aaron 
> > Elder
> > Sent: Monday, May 02, 2005 4:07 PM
> > To: nant-users@lists.sourceforge.net
> > Subject: [Nant-users] File sizes
> > 
> > 
> > 
> > 
> > Hey everyone,
> > 
> >  
> > 
> > I just recently converted a Visual Studio project to use Nant.  The 
> > file has only two VERY simply CS files (AssemblyInfo + 1 code file) 
> > and there are no external dependencies.
> > 
> >  
> > 
> > When I compile the DLL in VS, the file size is 20k... when 
> I compile 
> > the same code in Nant the file is 7k.
> > 
> >  
> > 
> > Debug, trace, optimization settings are all identical 
> between VS and Nant.
> 
> > The files are identical.
> > 
> >  
> > 
> > Does anybody have any idea what may be going on?
> > 
> >  
> > 
> > Aaron Elder
> >
> 
> 
> ---
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 
> great events, 4 opportunities to win big! Highest score 
> wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. 
> Visit http://www.necitguy.com/?r 
> ___
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 
> 
> ---
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 
> great events, 4 opportunities to win big! Highest score 
> wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. 
> Visit http://www.necitguy.com/?r 
> ___

[Nant-users] RE: NAnt equivalent to Ant's

2005-05-03 Thread McKenna, Simon (RGH)
Hi Brian,

Firstly, thank you for you posting in plain text!
(I get this list in digest form and most people
seem ignorant of how much HTML crud they send)

-> NAnt's  does not allow files as a source, so I'm 
-> curious what others have done for this type of solution?

I had the same issue and ended up using an XML format to
store properties, then use the xmlpeek task to read, e.g.



Not exactly the same, but the outcome is, and of course
you can use xmlpoke to write.

peace
si


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] File sizes

2005-05-03 Thread Gert Driesen
Aaron,

Is this indeed a C++ project ?

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Castro, Edwin Gabriel (Firing Systems Engr.)
> Sent: woensdag 4 mei 2005 1:22
> To: [EMAIL PROTECTED]; Aaron Elder; Thibaut Barrère; Foster, 
> Richard - PAL
> Cc: nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> Wow!! If that really is the cause then I'm amazed! Whatever 
> Nant uses as default optimizations result in a 65% reduction 
> in size! Well, at least in this case... 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Ray Johnson
> > Sent: Tuesday, May 03, 2005 3:36 PM
> > To: 'Aaron Elder'; 'Thibaut Barrère'; 'Foster, Richard - PAL'
> > Cc: nant-users@lists.sourceforge.net
> > Subject: RE: [Nant-users] File sizes
> > 
> > 
> > This may be due to code optimization settings.  We have seen 
> > this as well where the "default" optimizations (and thus some 
> > of the compiler flags) are different between Nant and 
> > different versions of VS.Net.
> > 
> > We worked around this my explicitly setting the use of 
> > certain flags in VS.Net.  We did this by setting it to 
> > something else and then changing it back.  This in turn 
> > forces the appropriate attribute to be written in the project 
> > file which will force Nant not to use a default value but use 
> > the set value.
> > 
> > Ray 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Aaron Elder
> > Sent: Tuesday, May 03, 2005 1:54 PM
> > To: Thibaut Barrère; Foster, Richard - PAL
> > Cc: nant-users@lists.sourceforge.net
> > Subject: RE: [Nant-users] File sizes
> > 
> > Well this is just crazy.  I have use ILDASM to compare the IL 
> > of all the code and it is identical!  I also compared the 
> > manifests, it turns out the manifest of the smaller DLL is 
> > actually BIGGER that manifest of the larger DLL (it had a 
> > text change in the Assembly Info).
> > 
> > I am going to re-create my VS project and see if I can 
> > reproduce this in a simpler manner that I can then post.
> > 
> > BTW - The application is a DLL, so I do no think there is an 
> > ICO resource in the larger version.
> > 
> > 
> > 
> > Aaron Elder
> > Director, Software Development
> > 
> > invokesystems
> > solid technology. sound thinking.
> > http://www.invokesystems.com 
> > 
> > 
> > -Original Message-
> > From: Thibaut Barrère [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 03, 2005 1:09 PM
> > To: Foster, Richard - PAL
> > Cc: Aaron Elder; nant-users@lists.sourceforge.net
> > Subject: Re: [Nant-users] File sizes
> > 
> > Hi Aaron
> > 
> > maybe (not sure it's allowed though) you could post the two 
> > binaries on the list so we can have a look at it ? it's 
> > rather interesting.
> > 
> > cheers
> > 
> > 2005/5/3, Foster, Richard - PAL <[EMAIL PROTECTED]>:
> > > Aaron,
> > >  
> > > One other thought. Do you have a specific application 
> icon? If not, 
> > > perhaps Visual Studio is adding in the default application icon 
> > > resource, but NAnt isn't? I wouldn't expect that to be 13K 
> > worth, but 
> > > it could be a contributing factor.
> > >  
> > > Regards,
> > > Richard
> > > 
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of Castro, 
> > > Edwin Gabriel (Firing Systems Engr.)
> > > Sent: Tuesday, May 03, 2005 12:25
> > > To: Aaron Elder; nant-users@lists.sourceforge.net
> > > Subject: RE: [Nant-users] File sizes
> > > 
> > > 
> > > Hi Aaron,
> > >  
> > > Out of curiosity, are both versions functional? I assume 
> they are. 
> > > Have you tried to using ildasm (and similar tools) to inspect both
> > assemblies?
> > >  
> > > --
> > > Edwin
> > > 
> > > 
> > > 
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf 
> Of Aaron 
> > > Elder
> > > Sent: Monday, May 02, 2005 4:07 PM
> > > To: nant-users@lists.sourceforge.net
> > > Subject: [Nant-users] File sizes
> > > 
> > > 
> > > 
> > > 
> > > Hey everyone,
> > > 
> > >  
> > > 
> > > I just recently converted a Visual Studio project to use 
> Nant.  The 
> > > file has only two VERY simply CS files (AssemblyInfo + 1 
> code file) 
> > > and there are no external dependencies.
> > > 
> > >  
> > > 
> > > When I compile the DLL in VS, the file size is 20k... when 
> > I compile 
> > > the same code in Nant the file is 7k.
> > > 
> > >  
> > > 
> > > Debug, trace, optimization settings are all identical 
> > between VS and Nant.
> > 
> > > The files are identical.
> > > 
> > >  
> > > 
> > > Does anybody have any idea what may be going on?
> > > 
> > >  
> > > 
> > > Aaron Elder
> > >
> > 
> > 
> > ---
> > This SF.Net email is sponsored by: NEC IT Guy Games.
> > Get your fingers limbered up and give it your best shot. 4 
> > great events, 4 

RE: [Nant-users] File sizes

2005-05-03 Thread Aaron Elder
Nope... its C#.

BTW - Both code bases (small and large) function normally.

Aaron 

-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 03, 2005 7:54 PM
To: Aaron Elder
Cc: nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] File sizes

Aaron,

Is this indeed a C++ project ?

Gert

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Castro, Edwin Gabriel (Firing Systems Engr.)
> Sent: woensdag 4 mei 2005 1:22
> To: [EMAIL PROTECTED]; Aaron Elder; Thibaut Barrère; Foster, 
> Richard - PAL
> Cc: nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> Wow!! If that really is the cause then I'm amazed! Whatever 
> Nant uses as default optimizations result in a 65% reduction 
> in size! Well, at least in this case... 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Ray Johnson
> > Sent: Tuesday, May 03, 2005 3:36 PM
> > To: 'Aaron Elder'; 'Thibaut Barrère'; 'Foster, Richard - PAL'
> > Cc: nant-users@lists.sourceforge.net
> > Subject: RE: [Nant-users] File sizes
> > 
> > 
> > This may be due to code optimization settings.  We have seen 
> > this as well where the "default" optimizations (and thus some 
> > of the compiler flags) are different between Nant and 
> > different versions of VS.Net.
> > 
> > We worked around this my explicitly setting the use of 
> > certain flags in VS.Net.  We did this by setting it to 
> > something else and then changing it back.  This in turn 
> > forces the appropriate attribute to be written in the project 
> > file which will force Nant not to use a default value but use 
> > the set value.
> > 
> > Ray 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Aaron Elder
> > Sent: Tuesday, May 03, 2005 1:54 PM
> > To: Thibaut Barrère; Foster, Richard - PAL
> > Cc: nant-users@lists.sourceforge.net
> > Subject: RE: [Nant-users] File sizes
> > 
> > Well this is just crazy.  I have use ILDASM to compare the IL 
> > of all the code and it is identical!  I also compared the 
> > manifests, it turns out the manifest of the smaller DLL is 
> > actually BIGGER that manifest of the larger DLL (it had a 
> > text change in the Assembly Info).
> > 
> > I am going to re-create my VS project and see if I can 
> > reproduce this in a simpler manner that I can then post.
> > 
> > BTW - The application is a DLL, so I do no think there is an 
> > ICO resource in the larger version.
> > 
> > 
> > 
> > Aaron Elder
> > Director, Software Development
> > 
> > invokesystems
> > solid technology. sound thinking.
> > http://www.invokesystems.com 
> > 
> > 
> > -Original Message-
> > From: Thibaut Barrère [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 03, 2005 1:09 PM
> > To: Foster, Richard - PAL
> > Cc: Aaron Elder; nant-users@lists.sourceforge.net
> > Subject: Re: [Nant-users] File sizes
> > 
> > Hi Aaron
> > 
> > maybe (not sure it's allowed though) you could post the two 
> > binaries on the list so we can have a look at it ? it's 
> > rather interesting.
> > 
> > cheers
> > 
> > 2005/5/3, Foster, Richard - PAL <[EMAIL PROTECTED]>:
> > > Aaron,
> > >  
> > > One other thought. Do you have a specific application 
> icon? If not, 
> > > perhaps Visual Studio is adding in the default application icon 
> > > resource, but NAnt isn't? I wouldn't expect that to be 13K 
> > worth, but 
> > > it could be a contributing factor.
> > >  
> > > Regards,
> > > Richard
> > > 
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of Castro, 
> > > Edwin Gabriel (Firing Systems Engr.)
> > > Sent: Tuesday, May 03, 2005 12:25
> > > To: Aaron Elder; nant-users@lists.sourceforge.net
> > > Subject: RE: [Nant-users] File sizes
> > > 
> > > 
> > > Hi Aaron,
> > >  
> > > Out of curiosity, are both versions functional? I assume 
> they are. 
> > > Have you tried to using ildasm (and similar tools) to inspect both
> > assemblies?
> > >  
> > > --
> > > Edwin
> > > 
> > > 
> > > 
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf 
> Of Aaron 
> > > Elder
> > > Sent: Monday, May 02, 2005 4:07 PM
> > > To: nant-users@lists.sourceforge.net
> > > Subject: [Nant-users] File sizes
> > > 
> > > 
> > > 
> > > 
> > > Hey everyone,
> > > 
> > >  
> > > 
> > > I just recently converted a Visual Studio project to use 
> Nant.  The 
> > > file has only two VERY simply CS files (AssemblyInfo + 1 
> code file) 
> > > and there are no external dependencies.
> > > 
> > >  
> > > 
> > > When I compile the DLL in VS, the file size is 20k... when 
> > I compile 
> > > the same code in Nant the file is 7k.
> > > 
> > >  
> > > 
> > > Debug, trace, optimization settings are all identical 
> > between VS and Nant.
> > 
> > > The files are identical.
> > > 
> > >  
> > > 
> > > Does anybody have any

RE: [Nant-users] File sizes

2005-05-03 Thread Gert Driesen
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Aaron Elder
> Sent: woensdag 4 mei 2005 5:27
> To: Gert Driesen
> Cc: nant-users@lists.sourceforge.net
> Subject: RE: [Nant-users] File sizes
> 
> Nope... its C#.
> 
> BTW - Both code bases (small and large) function normally.

Then I guess the best way to proceed is packaging up a small repro for this.

Gert



---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] NAnt equivalent to Ant's

2005-05-03 Thread Bill.Martin
Hi Brian,

You need to use the  task.  Your properties file must contain a
 definition e.g.





and save as properties.build.

Then in another file build file you can use:



Cheers,

Bill


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian Cantoni
Sent: 03 May 2005 18:36
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] NAnt equivalent to Ant's 

I've been using NAnt for a few weeks and have migrated our
Win32 app build to it. I'm looking for a way to load a set
of properties from an external file, similar to Ant's
 method.

NAnt's  does not allow files as a source, so I'm
curious what others have done for this type of solution?

Ant seems to be able to read files like this:

   # comment
   Property1=Value1
   Property2=Value2
   etc.

It seems that creating a custom task or script would work.
Does anyone have an example they'd care to share?

thanks,
brian

--
Brian Cantoni 



---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


UK businesses use 2 million tonnes of paper each year.
THINK before you PRINT this email.
__

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person 
or organisation to 
whom it is addressed.  Its contents are confidential and may be protected in 
law.  Unauthorised use,
 copying or disclosure of any of it may be unlawful.  If you are not the 
intended recipient, please 
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, 
which could damage your 
own computer system.  While Marlborough Stirling has taken every reasonable 
precaution to minimise 
this risk, we cannot accept liability for any damage, which you sustain as a 
result of software 
viruses.  You should carry out your own virus checking procedure before opening 
any attachment.

Marlborough Stirling plc, Registered in England and Wales 
Registered No. 3008820,
Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

N¬HS^µéX¬²š'²ŠÞu¼"ì†jg¬ër¢êßx®Éb™·«yÛjw`Š÷¢·*.­·¬¶Èh·ˆ+y«^½éí)¦Šíºx­‰ë-£§n(Š^²Û¢·°Š{
"ì†jg¬>V²¶Œ"©Í.µ¦V¬™§b²™ZÉX¬ŠØm¶ŸÿÃ'yÈ‚ìoë