I created this program and C# and it worked correctly a few weeks ago. Now, I copied all of this code to a another project I am working on. I added it to a brand new C# Cla
If your file is in App_Code folder, try moving it to another folder. For me its solved the problem.