Re: Using working example worked XIDE compiler but error in VS-2019 compiler

We encourage new members to introduce themselves here. Get to know one another and share your interests.
Post Reply
User avatar
gbuebook
Posts: 8
Joined: Wed Jun 09, 2021 8:47 am

Re: Using working example worked XIDE compiler but error in VS-2019 compiler

Post by gbuebook »

Dear Dloper,

I have tried a working example compiled on XIDE, it works fine. When I export MSBuild Project Files to Visual Studio 2019 and run with debug it error:

ErrorXS9007Feature 'array' is not available in the selected dialect CoreWinformDBFC:XIDEProjectsProject1ApplicationsWinformDBFPrgDataFactory.prgline 16

Code that give this error: local aFieldsas array

I have attached the picture to show actual error,
Please advise what setting need to be done in VS 2019 to dissolve the error

Regards
David
image 15.jpg
image 15.jpg (70.66 KiB) Viewed 241 times
The attachment 3bc0d2a0343ce62c8ead08aef0004179 is no longer available
Attachments
Image 19.jpg
Image 19.jpg (79.38 KiB) Viewed 241 times
Image 17.jpg
Image 17.jpg (122.23 KiB) Viewed 241 times
image 18.jpg
image 18.jpg (14.53 KiB) Viewed 241 times
User avatar
Chris
Posts: 4599
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Using working example worked XIDE compiler but error in VS-2019 compiler

Post by Chris »

Hi David,

Unfortunately this export to msbuild feature in XIDE is still experimental and largely incomplete, so please do not expect it to work correctly for complex projects. In this particular case the fix should be easy though, open the project properties in VS, then change the "Dialect" property (in the first tab, "Application") to "Visual Objects", or "FoxPro" if you prefer that.
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Post Reply