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
Re: Using working example worked XIDE compiler but error in VS-2019 compiler
Re: Using working example worked XIDE compiler but error in VS-2019 compiler
- Attachments
-
- Image 19.jpg (79.38 KiB) Viewed 413 times
-
- Image 17.jpg (122.23 KiB) Viewed 413 times
-
- image 18.jpg (14.53 KiB) Viewed 413 times
Re: Using working example worked XIDE compiler but error in VS-2019 compiler
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.
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
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu