I always get this error:
Could not load type System.Runtime.CompilerServices.ExtensionAttribute from assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
whenever I run source code in VS 2010. But this error doesn't appear if VS 2010 is closed or computer is restarted. I use VS 2010 and target framework 4.0. I always face this trouble when I run source.
I have another error together with the above error. When I click menu in my application, I get often this error:
The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit,Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b00e84b6d53e' of the ASP.NET AJAX Framwork. To use this resource, make sure that the application references version 'AjaxControlToolkit,Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b00e84b6d53e'.