Playing with an app_code folder in an asp.net project in Visual Studio 2015. Put in a myclass with a function to return a string, and successfully called it from a default.aspx.cs file, putting the string to a label so it showed on a web page.
"Cool!" thought I.
So I added a couple more functions that use System.Data.SqlClient. I copied these from the .cs pages of an old project.
Now, when I have VS launch the web project, I get an error:
CS0433: The type 'MyClass' exists in both 'App_Code.vmsqpowp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'ChewChew, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'
Has VS compiled this into a dll or something that I have to delete somewhere. The main application is "ChewChew" (I did not pick the name)
I even tried changing the class name, but I get the same error with the new class name.