I have an extension method like
public static class Extension { public static string GetTLD(this string str) { var host = new System.Uri(str).Hos
I had the same problem. After some research and experimenting, I found that (for whatever reason) visual studio doesn't like extension methods in the App_Code folder. Easiest solution I found was to just change the name of the folder.