xsharp.eu • Build problem
Page 1 of 1

Build problem

Posted: Fri Nov 27, 2020 2:24 pm
by Juraj
Hi All,

Today I installed FOX version XS 2.6.1. An application that compiled without problems in XS 2.1 has this problem in version 2.6.1.
After running the "Build app ...", the Adox library will be lost from the working directory, even though it was physically there before. VS 2019 prints an error message (attachment)

Juraj

Build problem

Posted: Fri Nov 27, 2020 2:50 pm
by robert
Juraj,

I have difficulties reading the error message.
A question:

Did you add AdoX as COM reference to your app ? In that case the build system should automatically create the Interop.AdoX assembly and you would normally not add a direct reference to Interop.Adox


Robert

Build problem

Posted: Fri Nov 27, 2020 2:56 pm
by Juraj
Hi Robert,

this "error mesage" is OK?

Build problem

Posted: Fri Nov 27, 2020 3:26 pm
by robert
Juraj,
I can read it now.
Can you delete the file that is mentioned in the error message, so MsBuild can try to rebuild it ?
If that does not work, then please zip your project and mail it to me so I can have a look.

Robert

Build problem

Posted: Fri Nov 27, 2020 4:37 pm
by robert
Juraj,
I can see it too. I have no idea why this happens.
As workaround:
- copy the interop.adox dll out of the objdebug folder into the source folder
- remove the ADOX reference from your references list
- add a reference to the interop.adox.dll instead.

Robert

Build problem

Posted: Fri Nov 27, 2020 4:57 pm
by Juraj
Hi Robert,

IF add Interop.Adox from windows "Add reference" from tab "Browse" (not tab COM), build is OK.

Juraj