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>
<map
url="http://localhost/KMD.NI.SdpiEws/KMD.NI.SdpiEws.csproj"
path="C:\projects\KMD.NI\KMD.NI.SdpiEws\KMD.NI.SdpiEws\KMD.NI.SdpiEws.csproj"
/>
<map
url="http://localhost/KMD.NI.SdpiEws.WebClient/KMD.NI.SdpiEws.WebClient.csproj"
path="C:\projects\KMD.NI\KMD.NI.SdpiEws\KMD.NI.SdpiEws.WebClient\KMD.NI.SdpiEws.WebClient.csproj"
/>
</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.SdpiEws.Utilities.csproj'.
BUILD FAILED
Error loading project
'C:\projects\KMD.NI\KMD.NI.SdpiEws\KMD.NI.SdpiEws.Utilities\KMD.NI.SdpiEws.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