How can I tell Visual Studio I have code not in the App_Code folder?

We used Visual Studio 2005 Team Suite for a fairly large web project. Now we add another web application to our current project ... it is essentially complete and we just add the whole thing as a folder to our current project. The project builds, it works ... everything is fine ... but this new subproject does not have any kind of Intellisense that recognizes the classes we created for this subproject.

I think this is probably because the code for the project is missing from the App_Code folder and therefore Visual Studio doesn't know where to find it. Does this make sense? If so, what can I do about it?

0


a source to share


1 answer


As I know it is. For some reason, the default template for web applications in 2005 looks like this. If you just need a little stuff to get classes outside of App_Code to implement the interface, then just use that when you interact with code that is somewhere outside App_Code (for whatever reason).



Otherwise, you can choose a different project model (not shipped with 2005, so it needs to be installed separately and the conversion might not be trivial): http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx

+3


a source







All Articles