VS 2005 Compile on Save C# -
this baffling me, unable find setting if exists. 90% sure code used compile on save before. started having issue when using c#, .net worked fine.
but able rid of error lines etc, when choosing enter debug mode. example when have method
public bool method1(){ //no code added yet blue line saying return }
even when add return inside method line remains there on save. goes away when build.
(this 1 example seems happen lots of other things)
edit - in regards options compile on save.
the options in build , run set correctly
that should produce red underline , entry in error list window: "not code paths return value". produced intellisense parser, not compiler. saving file not remove error hint, opening project does. , fixing code of course.
there bug of sorts in logic, in cases error list doesn't purged. workaround i've seen restart visual studio. i've seen intellisense warnings , affects error list, not editor. can't remember exact type of warning triggers this, ever happened when opening project code didn't write. these messages don't last long when i'm editing code. far best solution.
Comments
Post a Comment