fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: CRLF gives XS0103 error

CRLF gives XS0103 error 1 year 7 months ago #2961

  MikeB's Avatar Topic Author MikeB Offline Posts: 21
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

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2962

  ic2's Avatar ic2 Offline Posts: 485
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

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2963

  MikeB's Avatar Topic Author MikeB Offline Posts: 21
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.

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2964

  robert's Avatar robert Offline Posts: 994
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
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2966

  MikeB's Avatar Topic Author MikeB Offline Posts: 21
Hi Robert,

The setting is FALSE. XSPROJ file attached as TXT.

Thanks,

Mike
Attachments:

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2968

  FFF's Avatar FFF Away Posts: 574
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

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2969

  Chris's Avatar Chris Offline Posts: 1164
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
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2971

  MikeB's Avatar Topic Author MikeB Offline Posts: 21
Hi Karl,

Yes, changing setting to TRUE then FALSE resolved this.

Thanks,

Mike

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2972

  MikeB's Avatar Topic Author MikeB Offline Posts: 21
Hi Robert,

I've attached copies of another project file before and after editing as Karl suggested. I hope this helps.

Regards,

Mike
Attachments:

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2973

  robert's Avatar robert Offline Posts: 994
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
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

CRLF gives XS0103 error 1 year 7 months ago #2975

  MikeB's Avatar Topic Author MikeB Offline Posts: 21
Thanks Robert. I wasn't sure which Forum to use since it's my first message here!

Just a few more errors to resolve which I'll post in separate threads.

Mike

Please Log in or Create an account to join the conversation.

  • Page:
  • 1