Home > Net >  Vs2010 compilation problems to regenerate the normal, but writing code, run in debug mode and single
Vs2010 compilation problems to regenerate the normal, but writing code, run in debug mode and single

Time:10-04

Today in the process of remote assistance, found a problem, I compile a new exe and DLL to there, to find new code does not perform, then add a variety of log, found that the log doesn't print, found in the debugging process, the new code, although to regenerate a success, but he will automatically skip new code debugging, all bosses for help.. Restart vs yao, restart the computer, too. In the debugging . Then write new code, he directly to jump over, open exe running in direct point, also is such, have no dozen I wrote a new log.

Tried to clean up, to regenerate, useless, now can play a role is to delete all of the bin, regenerate, have the effect, but a compilation and to delete the bin, very troublesome, for bosses to give directions

CodePudding user response:

According to the last sentence in your figure, set up or use?
Also, when debugging, set breakpoint is not clear, leading to skip
Refer to
https://www.cnblogs.com/yuetianhewu/articles/2862845.html

CodePudding user response:

Often appear in the class library
Usually solution under the certain class library project be replaced, or between different computers is copy project, it is possible that the DLL or exe. The.net framework version caused by inconsistent
Suggest to delete all the obj and bin folders, unloading can't debug class library project, to add, and then in the main project reference again

CodePudding user response:

The
reference 1/f, autumn red fruit reply:
according to the last sentence in your chart, set up or use?
Also, when debugging, set breakpoint is not clear, leading to skip
Refer to
https://www.cnblogs.com/yuetianhewu/articles/2862845.html

Key is not in the debug, I regenerate, click run exe, found the new code print log all have no dozen, not execute directly,

CodePudding user response:

Please reset vs, you even compile and debug to regenerate the last thing is something goes wrong,

CodePudding user response:

Try to debug mode debugging,
  •  Tags:  
  • C#
  • Related