App name same as dbserver name?

This forum is meant for questions and discussions about the X# language and tools
Post Reply
kitz
Posts: 87
Joined: Wed Nov 29, 2017 8:56 am

App name same as dbserver name?

Post 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
User avatar
wriedmann
Posts: 3644
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

App name same as dbserver name?

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply