Hi Ales,
just a quick guess but I think what is happening is that VS.Net stores non-xml-compliant data in the .csproj project files. I had a similar issue with some post build events. Check out the line where you get the error and maybe you could try to make the content more xml compliant (such as using & instead of & of instance) manually, for the national characters you use.
Also you should definitely try to avoid any national characters in the file name to avoid any encoding issue such as this one ; try to stick with the basic ascii codes.
regards
Thibaut
2005/9/29, Ales Vojacek <[EMAIL PROTECTED]>:
Hi all,
it is because in names of files were used national characters. Is it a
bug, or is it normal?
Ales
Ales Vojacek wrote:
> Sorry, this is the exception :
>
> Unhandled Exception: System.ArgumentException: Invalid byte was found
> at byte index 1948.
> at System.Xml.XmlScanner.GetChars (Byte[] srcBuffer, Int32&
> srcOffset, Int32 srcLen, Char[] destBuffer, Int32 destOffset, Boolean
> zeroedOut)
> at System.Xml.XmlScanner.Read()
> at System.Xml.XmlScanner.ScanLiteral()
> at System.Xml.XmlTextReader.SetLiteralValues(XmlAttributeTokenInfo fld)
> at System.Xml.XmlTextReader.SetAttributeValues()
> at System.Xml.XmlTextReader.ParseElement()
> at System.Xml.XmlTextReader.Read ()
> at System.Xml.XmlValidatingReader.ReadNoCollectTextToken()
> at System.Xml.XmlValidatingReader.Read()
> at System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
> parent, String parentBaseUri, XmlReader reader, PositionInfo
> positionInfo)
> at System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
> parent, String parentBaseUri, XmlReader reader, PositionInfo
> positionInfo)
> at System.Xml.XPath.XPathDocument.ReadChildNodes (XPathContainer
> parent, String parentBaseUri, XmlReader reader, PositionInfo
> positionInfo)
> at System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
> parent, String parentBaseUri, XmlReader reader, PositionInfo
> positionInfo)
> at System.Xml.XPath.XPathDocument.ReadChildNodes(XPathContainer
> parent, String parentBaseUri, XmlReader reader, PositionInfo
> positionInfo)
> at System.Xml.XPath.XPathDocument.Load (XmlReader reader)
> at System.Xml.XPath.XPathDocument.Init(XmlReader reader)
> at System.Xml.XPath.XPathDocument..ctor(String uri)
> at SLiNgshoT.Core.Project.Read(String path)
> at SLiNgshoT.Core.Solution.AddProject (String projectLine)
> at SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)
> at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer,
> TextWriter textWriter, String sln, Hashtable parameters, Hashtable
> uriMap)
> at SLiNgshoT_Console.Main(String[] args)
>
>
> Ales Vojacek wrote:
>
>> Hi all,
>> when I try to use slingshot it ends with this error:
>> Unhandled Exception: System.ApplicationException: file not found:
>> E:\E5\E4.sln
>> at SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)
>> at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer,
>> TextWriter textWriter, String sln, Hashtable parameters, Hashtable
>> uriMap)
>> at SLiNgshoT_Console.Main(String[] args)
>> can someone help me with it?
>> Ales
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by:
>> Power Architecture Resource Center: Free content, downloads,
>> discussions,
>> and more. http://solutions.newsforge.com/ibmarch.tmpl
>> _______________________________________________
>> Nant-users mailing list
>> Nant-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nant-users
>>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
--
Thibaut Barrère
LoGeek
[tel] +33 6 85 33 40 88
[mail] [EMAIL PROTECTED]
[blog] http://www.dotnetguru2.org/tbarrere