So now that I have Vista RTM installed I took another look at my Intellisense issues in Visual Studio Web Projects and I’m sad to say that this problem is still with me.
At this point I’m running:
- Windows Vista RTM
- Visual Studio 2005
- Visual Studio 2005 SP1 (Beta)
I continue to see the same issues I described earlier which are as follows:
Open an existing stock ASP.NET project (file based) and open any CodeBeside file. Go into the document and type this.txt (or anything that references a control on the page). Intellisense comes up for base form properties, but no controls show up in the Intellisense list. It looks like VS is simply not picking up the contents of the generated Partial class that contains the control definitions at this point.
To get Intellisense to work I have to open the ASPX/ASCX/MASTER in design view first, then it works correctly. If closing down the form and re-opening later the process repeats.
I tried this with an existing project first, but I also created a brand new project from scratch, added a page, added a couple of textboxes and saw exactly the same result.
For minute there I also experimented around with Scott Guthrie’s recent note that there can be problems with the MS Ajax controls in conjunction with a global Control Registration in web.config. For kicks I turned off those control registrations in my original project and explicitly added the <%@ Register %> directive back into my test page to see if that would have any effect, but no luck.
I also have a couple of applications using Web Application Projects, and there it seems that Intellisense is working properly! As soon as I open a CodeBehind page in WAP Intellisense is working fine.
I also reported a while back that it appeared that SlickRun was interfering with the Intellisense behavior and it definitely made a difference in RC1. But I now have a completely clean install of Vista with just about no custom in memory utilities running and I’m back to no Intellisense.
I sure hope that this issue can be resolved sometime before Visual Studio 2005 SP1 ships. This is really annoying. I’m just thankful that most of my main projects at this point are using WAP…
If you’ve run into this issue as well, please a note here. There’ve been a few isolated reports here and there but it still seems that this is not a wide spread issue – most people seem to get their Intellisense Ok. Or is it maybe that most are always using design mode and aren’t noticing the problem because of that? Any additional information might help.