Hi Matt,

Yes you're right, it should indeed be &

If I correct this in the VS .csproj file, the Nant <solution>
will load and build the project (and the rest of the solution).

I may be able to use this as a patch until MS fixes the VS.NET XML
generation; It seems to be localized to WebReferenceUrl definitions.

Thanks for the advice!
Best regards
Allan dystrup

________________________________________________________________________
____
-----Oprindelig meddelelse-----
Fra: Matthew Mastracci [mailto:[EMAIL PROTECTED] 
Sendt: 27. august 2005 00:38
Til: Nielsen.Allan Rene Dystrup AND; nant-users@lists.sourceforge.net
Emne: Re: BUILD FAILED in <solution> .csprog with '=' in a
WebReferenceUrl

Actually, it looks like the token that breaks your project is the 
unquoted ampersand.  :)

VS.NET has a strange problem where it dumps unquoted ampersands into 
otherwise valid XML.  There isn't an easy fix available, since we can't 
even load the XML!
________________________________________________________________________
____
Nielsen.Allan Rene Dystrup AND wrote:
> I have this task in my Nant build file :
> 
> <solution
>    configuration="debug"
>    solutionfile="C:\projects\KMD.NI\KMD.NI.SdpiEws\KMD.NI.SdpiEws.sln"
>    verbose="true"
>  >
>    <webmap>
>     ... etc ...
>    </webmap>
> </solution>
> 
> In a project file : KMD.NI.SdpiEws.TestUtilities.csproj VS.Net has 
> defined the following setup :
> <Folder
>    RelPath = "Web References\ny510Ref\"
>    WebReferenceUrl = 
>
"http://wsswlbs-wm1q2003.kmd.dk/wsdl/composite.ashx?class=Cics&services=
NY51000"
>    UrlBehavior = "Static"
> />
> 
> Running this the above NAnt <Solution> i get:
> [solution] Loading referenced project 
'C:\projects\KMD.NI\KMD.NI.SdpiEws\KMD.NI.SdpiEws.Utilities\KMD.NI.SdpiE
ws.Utilities.csproj'.
> BUILD FAILED
> Error loading project 
'C:\projects\KMD.NI\KMD.NI.SdpiEws\KMD.NI.SdpiEws.Utilities\KMD.NI.SdpiE
ws.Utilities.csproj'.
> This is an unexpected token. The expected token is 'SEMICOLON'. Line 
> 283, position 110.
> 
> The token that breaks the build is : L283,p110: the '=' in
"...=NY51000"
> This seems like an error in the project file parser.
> 
> Is this a known issue? If so, is a patch available?
> Best regards,
> Allan dystrup




_______________________________________________________________________________________
www.kmd.dk   www.kundenet.kmd.dk   www.eboks.dk   www.civitas.dk   
www.netborger.dk www.organisator.dk

Hvis du har modtaget denne mail ved en fejl vil jeg gerne, at du informerer mig 
og sletter den.
KMD skaber it-services, der fremmer effektivitet hos det offentlige, 
erhvervslivet og borgerne.

If you received this e-mail by mistake, please notify me and delete it. Thank 
you.
Our mission is to enhance the efficiency of the public sector and improve its 
service of the general public. 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to