Last post Aug 06, 2009 09:12 AM by hhilzinger
Aug 06, 2009 05:44 AM|hhilzinger|LINK
I have upgraded from VS2005 Pro to VS2008 TFS. I have created a new ASP.NET web application. I have noted the following issues.
1. When adding ASP.NET folders App_Code is missing from this list. I saw a previous post where it says add it yourself. OK ... ?
2. When I add a class the App_Code folder and I create a method that returns a dataset
i.e. System.Data GetSearchResults()
After typing in System the Data namespace is not visible ? even though there is a reference to the assembly, by default and the project compiles.
3. This relates to point 2 if I add a reference to an assembly i.e. Subsonic and I type Subsonic. Once again VS does not seem to recogise the assembly.
Aug 06, 2009 09:12 AM|hhilzinger|LINK
OK guys it seems this is a VS2008 TFS issue. I manually added the App_Code folder to my web as it was not on the list of ASP.NET folders. That was the first funny. Any classes I create in the App_Code folder are completely ignored by VS. Its like VS does
not see the App_Code folder at all. I can even create deliberate typos in a class like using System.XXX; no compiler error! does anyone know whats going on here?