ASP.Net with VS 2010 Debugging and running -


I am using ASP.NET with VS 2010. Actually I am mad with the compiler. When I change my code and run the project, an older version of my code is executed. This means that the website has not been compiled and DLL is outdated. I tried to clean up my solution and rebuilt several times again, sometimes it worked, not others I had to discontinue VS to run it properly (not all the time). Actually I had to face this problem when using VS 2005 but not too much, there is an option to rebuild the solution-in fact-every time? By the way, many break points did not arrive because PDB files are outdated.

Are you setting breakpoints in a code from a project that is set to be created in the solution is not? You can set your website to debug every time (website properties -> build -> start action). Make sure that all relevant projects are debug check your configuration configuration (Solution Properties -> Configuration Properties: Set the 'Build' checkbox next to the project). Also make sure that you are making all the projects in the form of debug. Project Properties-> Compile -> Advanced Compilation Options -> Generate Debug Info: Completed.


Comments