I am not sure where to post this. But since I am developing a sharepoint solution, then I am going to post it here. please feel free to move this in other forums.
Here's my problem.
I am building my Timer Job, and in that timer job has several if-else conditions.
here's what a basic if-else functionality is.
if(condition==true) //true else //false
however, in my case, even if my condition is TRUE, it goes to the "else"
I have my watch and the condition is really true. Now its weird because when I restart my VM/dev environment, it now works as expected and it will now proceed to the true section.
Now after several debugging of my Timer Job project/solution, the if-else functionality is not yet working again so I have to restart my machine again.
I tried using IISRESET, restarting my Visual Studio, but I am still getting the error. The only solution is to restart my machine.
I am using
Microsoft Visual Studio Premium 2012
Version 11.0.50727.1 RTMREL
----------------------- Sharepoint Newbie