Mac Publish Failed as it Creates folder with ** as the name.

The game Runs fine in visual studio 2019 mac, however when packaging “dotnot publish -r osx-x64” it creates a top level folder with the name ** here is a picture.!

Screenshot 2022-01-01 at 12.09.39

It crashes because it tries to search paths using these ** for instance it tried to grab a *.mgcb. Even if you copy it over manual and rename the file, it expected every single content to now follow a ** naming convention. its very odd.

Any ideas about how to resolve this would be greatly appreciated.

Edit: It seems that it tries not to overwrite existing foldrs and instead creates ** folders. The existing builds/nugets it works fine. But id have to delete it both ways everytime.

I’m using the archive menu with the right mouse click on the project and it works fine for me.