xsharp.eu • Xporter: & character in module name causes VS error on xsprj open
Page 1 of 1

Xporter: & character in module name causes VS error on xsprj open

Posted: Thu Apr 18, 2019 8:05 pm
by Jamal
Hi Dev Team!

Visual Studio 2017 chokes on the & in VO module name like Gather & Scatter.prg and the project file could not be loaded. See the error below and the cause of the error.
I replaced the & to a - in the module name in VO IDE, then xported again and the project loaded fine in VS. So, I suggest doing so in the next update before xporting AEF.

Error:
C:XporterOutputLib2019Lib2019.xsproj : error : The project file could not be loaded. An error occurred while parsing EntityName. Line 163, position 27. C:XporterOutputLib2019Lib2019.xsproj

Code: Select all

<Compile Include="Gather & Scatter.prg">
  <SubType>Code</SubType>
</Compile>
BTW: using XSharp Bandol RC 1 - Public version

Jamal

Xporter: & character in module name causes VS error on xsprj open

Posted: Thu Apr 18, 2019 8:11 pm
by Chris
Thanks Jamal, will take care of this, for & and any other chars that are not allowed as filename characters. Logging this right now.