xsharp.eu • App name same as dbserver name?
Page 1 of 1

App name same as dbserver name?

Posted: Thu Apr 01, 2021 2:13 pm
by kitz
Hello!
XS9062: The CLASS name 'ANV' conflicts with the compiler generated globals class name 'Anv.Exe.Functions'. You should either rename the type or the output assembly
Anv F:XporterOutputAnvSRV_ANV.prg
Is there another possibility to keep the app ANV.exe as well as the dbserver ANV and ANV.dbf?
I could rename one of them, but all users are used to the exe name and I have the dbserver ANV in a high count of places in the code and other applications, too.
What about the property "default namespace" Does it affect anv.exe.functions? Or can I have an anv.exe and a assembly name different from anv?
(You see, I am actually migrating ;-) )
BR Kurt

App name same as dbserver name?

Posted: Thu Apr 01, 2021 2:39 pm
by wriedmann
Hi Kurt,
if all your users are using the exe name, you could create a small stub exe that makes nothing else to call the correct exe.
Wolfgang