Can I still add to my application and debug it after I have done the Setup and Deployment on the project?
Asked
Active
Viewed 650 times
0
-
yes you can, but you need to rebuild the msi after u modify the code base – nawfal Sep 06 '12 at 01:25
-
If I go to the Build menu and choose Rebuild will this rebuilt the MSI file as well? – Pallas Sep 06 '12 at 01:30
-
Absolutely. Choose RebuildAll (or BuildAll or whatever that is) – nawfal Sep 06 '12 at 01:32
2 Answers
1
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.

AYK
- 3,312
- 1
- 17
- 30
0
yes you can just write this code System.Diagnostics.Debugger.Launch();

Tarek Saied
- 6,482
- 20
- 67
- 111