I developed a C# .NET CRUD application through Visual Studio 2022. I would just like to know how can I setup an .exe file of it together with the database I created through xampp (MySQL). I have been working on this for weeks, but I can't seem to find a solution. Also, is it possible if I can run the app to the other computers without actually installing xampp to their machines anymore? Thanks.
What I have tried:
I've tried publishing the app directly from VStudio 2022, and transferred all files to another computer, and it worked. However, I can't connect the database.