Click here to Skip to main content
15,905,915 members

Comments by tstoneami (Top 1 by date)

tstoneami 26-Jan-24 19:55pm View    
Hello, since this seems to be related to the situation I'm in, I thought I'd ask here before making a new post.

My app works great in Visual Studio, and I can publish successfully. I have an app.config that is read successfully, setting connection strings.

My problem/confusion. It publishes to a local folder (set in the publish dialogue), and creates a setup file. After I run this setup file, the same exe (called setup.exe) successfully runs my application. I can rename this file and it will still run. There are very few files here. It also publishes to a bin folder in another location, where the app.config and various reference files seem to live.

My goal: I want to distribute this application on a server in multiple locations (various customers), where I can change the app.config settings to point to different databases. The app doesn't seem to run without running setup first. How can I distribute this application as needed? I was able to write the app, but can't share it out!