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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Is there any way to debug a deployment project in the IDE

Is there any way to debug a deployment project in the IDE

Scheduled Pinned Locked Moved .NET (Core and Framework)
databasevisual-studiosysadmindebuggingxml
3 Posts 2 Posters 0 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.
  • G Offline
    G Offline
    GazzaJ
    wrote on last edited by
    #1

    I have a deployment project which runs Custom Actions before and after installation - these actions call a class to deal with backing up a database and then updating the schema to a current version. Is there anyway of debugging this class as the deployment is being executed? At present I write all actions out to a log and ensure everything is working that way. If I want to test something failing by inserting some code I need to rebuild the deployment each time.

    R 1 Reply Last reply
    0
    • G GazzaJ

      I have a deployment project which runs Custom Actions before and after installation - these actions call a class to deal with backing up a database and then updating the schema to a current version. Is there anyway of debugging this class as the deployment is being executed? At present I write all actions out to a log and ensure everything is working that way. If I want to test something failing by inserting some code I need to rebuild the deployment each time.

      R Offline
      R Offline
      rwestgraham
      wrote on last edited by
      #2

      Are you using a NET Custom Action? http://weblogs.asp.net/josh.robinson/archive/2004/12/20/327381.aspx[^] I have never tried it myself. If you are using an Installer class, how are you getting it to execute before the installation?

      G 1 Reply Last reply
      0
      • R rwestgraham

        Are you using a NET Custom Action? http://weblogs.asp.net/josh.robinson/archive/2004/12/20/327381.aspx[^] I have never tried it myself. If you are using an Installer class, how are you getting it to execute before the installation?

        G Offline
        G Offline
        GazzaJ
        wrote on last edited by
        #3

        I am using a NET Custom Action and the technique in the link worked a treat. Thanks very much.

        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