Martin,

Francis was talking about VB.NET projects, and these are definitely
supported by the <solution> task.

This issue Francis was talking about is now fixed in cvs.

Gert


----- Original Message ----- 
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "FRANCIS, Paul" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, May 08, 2004 2:11 PM
Subject: Re: [Nant-users] <Solution> Task does not work with all VB projects


<Solution> Task does not work with all VB projectsPaul
The Ant way to handle this is to assign a property
<property name="basename" value="HelloWorld" />
then later on your scripts can reference ${basename}  and the string value
HelloWorld will be substituted in-

The xml parser you are using needs to know what is an end tag, start tag and
value delimiters
so if you want to use special characters that the parser is already
interpreting as predefined meta characters you need to use an escape
mechanism
such as what is displayed from the XML/HTML cheatsheet
http://www.yourhtmlsource.com/text/specialcharacters.html

HTH,
Martin

  ----- Original Message ----- 
  From: FRANCIS, Paul
  To: '[EMAIL PROTECTED]'
  Sent: Friday, May 07, 2004 4:26 AM
  Subject: [Nant-users] <Solution> Task does not work with all VB projects


  I've had a problem compiling some VB.Net projects. I debugged the source
code and found it was because the VBC is being passed an invalid command
line "/define:Win32 = True".See the following protion of my vbproj:

          <Config
                      Name = "Debug"
                      BaseAddress = "285212672"
                      ConfigurationOverrideFile = ""
                      DefineConstants = "Win32 = True"
                      DefineDebug = "true"
                      DefineTrace = "true"
                      DebugSymbols = "true"
                      IncrementalBuild = "true"
                      Optimize = "false"
                      OutputPath = "bin\"
                      RegisterForComInterop = "false"
                      RemoveIntegerChecks = "false"
                      TreatWarningsAsErrors = "false"
                      WarningLevel = "1"
                  />

  VBC does not like the spaces. Change it to  "/define:Win32=True" and the
compilation works.

  Thanks.Paul.



  ......................................................................
  BUPA
  .....................................................................
  BUPA House, 15-19 Bloomsbury Way, London, WC1A 2BA
  .....................................................................
  Internet communications are not secure and therefore BUPA does
  not accept legal responsibility for the contents of this message. Any
  views or opinions presented are solely those of the author and do
  not necessarily represent those of BUPA.
  .....................................................................




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to