Re: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Gert Driesen
- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Delmerico, James" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 6:49 AM Subject: Re: [Nant-users] SerializationException with custom type embedded in resource

Re: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Ian MacLean
Gert Driesen wrote: Or should we be adding a fileset to the task so that assemblies can be resolved correctly ? If we want to have this logic in ResGenTask (and I'm pretty sure this is what we want), then we should add it there ... There will ofcourse be a larger overhead involved (as the fi

Re: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Gert Driesen
- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Delmerico, James" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 19, 2004 5:34 AM Subject: Re: [Nant-users] SerializationException with custom type embedded in resource

Re: [Nant-users] Questions from a new user

2004-05-18 Thread Gert Driesen
- Original Message - From: "Simon Rowe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 2:29 PM Subject: [Nant-users] Questions from a new user > 1. Apart from the Thus my buildfiles have makes them clumsy to read. Have I missed an 'else' or is there another wa

[Nant-users] Questions from a new user

2004-05-18 Thread Simon Rowe
Title: Questions from a new user Currently we run a batch file based build process, extended with some perl scripts, to build 240 VC++ and 20 C# components We will be converting the whole lot to C# in the near future, so I have been investigating NANT as an alternative build for our 20 C# pr

Re: [Nant-users] Help with xmlpoke

2004-05-18 Thread Gert Driesen
James, If you're using a 0.85 nightly build, then you should define a namespace prefixes for "xsl" : http://www.w3.org/1999/XSL/Transform"; /> Hope this helps, Gert - Original Message - From: "James Hafer" <[EMAIL PROTECTED]> To: "Martin Gainty

Re: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Ian MacLean
Gert Driesen wrote: We could ofcourse deal with this ourselves, and copy the dependent assemblies and resgen.exe to a temporary directory and launch resgen from there ... that seems preferable to failing. By dependent assemblies would we just use those that are in the compiler tasks fileset ? O

RE: [Nant-users] Solution wont build all projects

2004-05-18 Thread Peter Jones
It is VB.Net --- Peter G Jones University of Canterbury, NZ --- Senior Analyst/Programmer Microsoft .Net MVP Blog: http://jonsie.net > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 19 Ma

RE: [Nant-users] Help with xmlpoke

2004-05-18 Thread James Hafer
I tried this:      xpath="/xsl:transform/*/*/*/xsl:for-each/[EMAIL PROTECTED]’Gac’]/@refto"   and got this error:     BUILD FAILED   E:\QABuildTree\ATM\is.build(215,10): Failed to select nodes with XPath _expression_ '/xsl:transform/*/*/*/xsl:for-each/[EMAIL PROTECTED]'Gac']

Re: [Nant-users] Help with xmlpoke

2004-05-18 Thread Martin Gainty
James The trick is to follow the rules of XPath when evaluating the _expression_ within xmlpoke - Original Message - From: James Hafer To: [EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 9:14 PM Subject: [Nant-users] Help with xmlpoke   Hello,   I

Re: [Nant-users] Solution wont build all projects

2004-05-18 Thread Martin Gainty
Peter- Visual Studio's default behavior is to build assemblies or executables from 'Framework supported source' Which means every line of code being created in VB will sooner or later have to be rewritten to .NET to work under Windows 2003 or any 'future versions of Framework supported OS's.. In ot

[Nant-users] Help with xmlpoke

2004-05-18 Thread James Hafer
  Hello,   I need to change version numbers for particular assemblies referenced within an XML formatted application.config file.   For example, given this XML:                           How would xmlpoke be used

[Nant-users] Solution wont build all projects

2004-05-18 Thread Peter Jones
I have a solution that contains c# & vb projects. The vb projects don't get compiled. Is this a bug? --- Peter G Jones University of Canterbury, NZ --- Senior Analyst/Programmer Microsoft .Net MVP Blog: http://jonsie.net --

Re: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Gert Driesen
We could ofcourse deal with this ourselves, and copy the dependent assemblies and resgen.exe to a temporary directory and launch resgen from there ... Ofcourse, we would not have to do this for .NET 2.0 (in the future) ... Ian, what do you think ? Gert - Original Message - From: "Delme

RE: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Delmerico, James
Thanks Gert. I tried copying the dependent assembly to directory with the resx source file, but this doesn't work either. I also tried putting the folder with the referenced assembly in the path with no luck. Copying the file to directory with resgen.exe works, but that's a hack at best. Does a

Re: [Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Gert Driesen
James, The NAnt resgen task is a wrapper for resgen.exe (which is part of the .NET Framework SDK). However, until .NET 2.0 this tool did not support compiling resources with references to assemblies that are not stored in the GAC. Gert - Original Message - From: "Delmerico, James" <[EM

[Nant-users] SerializationException with custom type embedded in resource

2004-05-18 Thread Delmerico, James
All-   When compiling a .resx file during a build I’m receiving the following exception:     [csc] Compiling 21 files to C:\Daytona.VSS\Development/Components/../Binaries/Client/Hierarchy.Presentation.dll.     error: Invalid ResX input.