xsharp.eu • Re: Using working example worked XIDE compiler but error in VS-2019 compiler
Page 1 of 1

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

Posted: Sun Jun 13, 2021 6:57 am
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 411 times
The attachment 3bc0d2a0343ce62c8ead08aef0004179 is no longer available

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

Posted: Sun Jun 13, 2021 7:38 am
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.