Search code examples
c#winformsvisual-studio-2010setup-deployment

Debugging after Setup and Deployment?


Can I still add to my application and debug it after I have done the Setup and Deployment on the project?


Solution

  • IMHO you will be able to Debug your application only if you have built your assemblies in Debug mode. Release mode assemblies will not contain information required for debugging and hence you will not be able to debug it.

    Also if you are trying to debug remotely, you should read this

    One more point : The deployed code should be available with you (may be you have already 'tagged' it) to be able to debug the application. If you have modified code after deployment, you may not be able to reproduce / find issues, which you will see when using your application.

    Hope I am clear enough.