Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Installer Options

Installer Options

Scheduled Pinned Locked Moved Visual Studio
announcementcsharpdatabasewinformsdebugging
2 Posts 2 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 13635929
    wrote on last edited by
    #1

    Hi, I'm being frustrated by VS2017 when publishing a Winforms project. I want to be able to produce a 'live' version, a 'test' version and a 'training' version of the same application and just switch the database and installation locations for each. Do I need to purchase an Installer or can this be achieved in VS2017 easily? I have already tried the app.config switching add-in and have managed to get it to work, if not intermittently, but want to be able to select a config from the Configuration Manager that will provide one the 3 versions rather than just a Debug and Release Any reasnable advice greatfully received Gilbo

    L 1 Reply Last reply
    0
    • U User 13635929

      Hi, I'm being frustrated by VS2017 when publishing a Winforms project. I want to be able to produce a 'live' version, a 'test' version and a 'training' version of the same application and just switch the database and installation locations for each. Do I need to purchase an Installer or can this be achieved in VS2017 easily? I have already tried the app.config switching add-in and have managed to get it to work, if not intermittently, but want to be able to select a config from the Configuration Manager that will provide one the 3 versions rather than just a Debug and Release Any reasnable advice greatfully received Gilbo

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      For varying the physical location you'll need to pass that location as a parameter in the connection-string. Means you could probably get away with simply using a different connection-string in your configuration. A better idea is described here[^] :rolleyes: That way you can specify which database-driver to use (if you'd want to vary) and how to log the statements on those. Might be helpfull for debugging test-versions :)

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups