Hi,
I'm attempting to build my Vulcan solution with XSharp 1.0.2 (plus XSharp103.zip files) in VS2017.
Apart from the many XS0165 errors (use of unassigned locals) that I've had to suppress, why am I getting XS0103 errors for every occurrence of CRLF when this is defined in XSharpDefs.xh?
Mike
CRLF gives XS0103 error
CRLF gives XS0103 error
Hello Mike,
Chris wrote us earlier (when we added a seperate define for CRLF):
#include "XSharpDefs.vh"
and CRLF should work.
So I think a missing include may result in XS103 - The name 'identifier' does not exist in the current context.
Dick
Chris wrote us earlier (when we added a seperate define for CRLF):
#include "XSharpDefs.vh"
and CRLF should work.
So I think a missing include may result in XS103 - The name 'identifier' does not exist in the current context.
Dick
CRLF gives XS0103 error
Hi Dick,
I was going to do that but it conflicts with the documentation where I read that XSharpDefs.xh was implicitly included in XSharp projects, but perhaps this only applied to new projects.
I was going to do that but it conflicts with the documentation where I read that XSharpDefs.xh was implicitly included in XSharp projects, but perhaps this only applied to new projects.
CRLF gives XS0103 error
Mike,
Can you check the project properties, on the Build Page, the value for "Suppress Standard Header file".
If this says false, then the include should be included automatically and CRLF should be defined.
If you are having a problem even when the value says FALSE, then please then send me your xsproj file?
Robert
Can you check the project properties, on the Build Page, the value for "Suppress Standard Header file".
If this says false, then the include should be included automatically and CRLF should be defined.
If you are having a problem even when the value says FALSE, then please then send me your xsproj file?
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
CRLF gives XS0103 error
Hi Robert,
The setting is FALSE. XSPROJ file attached as TXT.
Thanks,
Mike
The setting is FALSE. XSPROJ file attached as TXT.
Thanks,
Mike
- Attachments
-
- AIS.FormFactory.xsproj.txt
- (8.48 KiB) Downloaded 70 times
CRLF gives XS0103 error
Robert,
as we found, "false" is usually set (from template), but does not work until once swapped to true and back.
Just made a new Winform app, same behaviour as with console...
@Mike: did you try that?
Karl
as we found, "false" is usually set (from template), but does not work until once swapped to true and back.
Just made a new Winform app, same behaviour as with console...
@Mike: did you try that?
Karl
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
CRLF gives XS0103 error
Hi Karl,
I checked a little further, looks like the problem is related to what Robert described in his previous article about project files, VS and MSBuild, there's a typo in the project option what saved to file. This still looks Greek to me , but I am sure Robert will be able to fix it.
Chris
I checked a little further, looks like the problem is related to what Robert described in his previous article about project files, VS and MSBuild, there's a typo in the project option what saved to file. This still looks Greek to me , but I am sure Robert will be able to fix it.
Chris
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
CRLF gives XS0103 error
Hi Karl,
Yes, changing setting to TRUE then FALSE resolved this.
Thanks,
Mike
Yes, changing setting to TRUE then FALSE resolved this.
Thanks,
Mike
CRLF gives XS0103 error
Hi Robert,
I've attached copies of another project file before and after editing as Karl suggested. I hope this helps.
Regards,
Mike
I've attached copies of another project file before and after editing as Karl suggested. I hope this helps.
Regards,
Mike
- Attachments
-
- AIS.ServerClasses(before).xsproj.txt
- (6.89 KiB) Downloaded 71 times
-
- AIS.ServerClasses(after).vnproj.txt
- (6.4 KiB) Downloaded 75 times
CRLF gives XS0103 error
Mike,
Thanks for the examples. This is exactly what I expected.
We plan to release a new version next week that will fix this.
Robert
PS: I have moved the whole thread to the product form, where it makes more sense
Thanks for the examples. This is exactly what I expected.
We plan to release a new version next week that will fix this.
Robert
PS: I have moved the whole thread to the product form, where it makes more sense
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu