Hi all,
I've just installed the latest XSharp Cahors 2.23.0.2 - Subscriber version, moving off version 2.18.04
Just one new "error" when I compile, but 8485 instances of it in my application so looking for how to ignore it.
Error XS1031 Type Expected
Can I tell the compiler to ignore or is there a switch in XIDE to flip for this?
CLASS StandardShellMenu INHERIT Menu
CONSTRUCTOR(oOwner)
LOCAL oTB AS ToolBar
Cheers,
Jonathan
Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Jonathan,
Try to enable the /vo15 (Allow untyped locals) flag on the compiler options page.
In the past, this option was automatically enabled when compiling in the VO dialect.
Robert
Try to enable the /vo15 (Allow untyped locals) flag on the compiler options page.
In the past, this option was automatically enabled when compiling in the VO dialect.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Thanks Robert,
That option is disabled in my XIDE. I've looked around in the .xiproj file but adding VO15=1 in various places didn't seem to help.
Sorry to ask again - any suggestions on enabling that option?
Thanks,
Jonathan
That option is disabled in my XIDE. I've looked around in the .xiproj file but adding VO15=1 in various places didn't seem to help.
Sorry to ask again - any suggestions on enabling that option?
Thanks,
Jonathan
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
That's strange. It should suffice to set the checkbox in Xide's properties compiler page, no need to mess with the proj file.
Did you try to quickly make a new Vo dialect app from the gallery, to check, if it's there disabled, too?
Did you try to quickly make a new Vo dialect app from the gallery, to check, if it's there disabled, too?
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)
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Jonathan,
"c:\Program Files (x86)\XSharp\Xide"
Robert
If the option is disabled, then I suggest that you install XIDE again from the XIDE folder:jonhn wrote: Mon Jul 14, 2025 8:17 am Thanks Robert,
That option is disabled in my XIDE. I've looked around in the .xiproj file but adding VO15=1 in various places didn't seem to help.
Sorry to ask again - any suggestions on enabling that option?
Thanks,
Jonathan
"c:\Program Files (x86)\XSharp\Xide"
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Thanks Robert and Karl,
I'll try reinstalling the Xide later. I did try creating a new VO/X# application and it is disabled in the compiler options there also.
I'll try reinstalling the Xide later. I did try creating a new VO/X# application and it is disabled in the compiler options there also.
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Hi Jonathan,
Ah, OK, that's the problem then, you are running an old XIDE version. Please install the latest one and probably you will not need to do anything, as normally the new XIDE automatically sets this property for existing VO dialect apps.
Ah, OK, that's the problem then, you are running an old XIDE version. Please install the latest one and probably you will not need to do anything, as normally the new XIDE automatically sets this property for existing VO dialect apps.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
I'm using the May 2025 version 2.20 of XIDE
I see there is a new 2.24.0.1 - Subscriber version of the compiler from yesterday - I'll download that and see...
I see there is a new 2.24.0.1 - Subscriber version of the compiler from yesterday - I'll download that and see...
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Hi Jonathan,
As you said you were using X# 2.23, you could have used also XIDE 2.23, as Robert mentioned you can find it in "c:\Program Files (x86)\XSharp\Xide". But yeah, you can go directly to 2.24 as well. And the X# installer at the end also asks you if you want to install XIDE.
As you said you were using X# 2.23, you could have used also XIDE 2.23, as Robert mentioned you can find it in "c:\Program Files (x86)\XSharp\Xide". But yeah, you can go directly to 2.24 as well. And the X# installer at the end also asks you if you want to install XIDE.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Thanks everyone, that works now.
As usual I contributed most (all) of the issue.
The textbox that pops up when Xide is updated says to use Xide.32.exe or Xide.64.exe, but nothing happens if you click OK and forget about the message (except you spend ages looking for the reason a few things no longer work).
So, once you install the new version, remember to delete the old Xide.exe and reassociate your projects to the new versions.
The good news is that I now have 2.24 instead of 2.23, thank you.
As usual I contributed most (all) of the issue.
The textbox that pops up when Xide is updated says to use Xide.32.exe or Xide.64.exe, but nothing happens if you click OK and forget about the message (except you spend ages looking for the reason a few things no longer work).
So, once you install the new version, remember to delete the old Xide.exe and reassociate your projects to the new versions.
The good news is that I now have 2.24 instead of 2.23, thank you.

