-
fake compile errors
Hi guys,
Anyone ever get fake compile errors and rebuild the program and then they go away? Well mine aren't going away and I can compile and run no problem. I've got something like 100 compile errors and the "run with error's" warning doesn't appear at any time and when I do run my program it runs just the way it should. However I still see like 100 errors.
-
Re: fake compile errors
Double click one of them and see what code it takes you to.
Delete the Bin and Obj folders from the project folder then open your solution in VS and see if you still have compile errors.
-
Re: fake compile errors
Are they errors or warnings? What do they look like? If they were truly errors, your app wouldn't run. Warnings can be worked around, but still should be fixed.
-tg
-
Re: fake compile errors
They went away after I changed some other code and compiled and ran again. I'll remember the obj and bin folders for next time thanks. It's just a recurring annoyance, I thought there was a setting or something for it. Usually just rebuilding the program works.
-
Re: fake compile errors
You can right click on the project file and clean which should do the same thing.