Visual Studio 2005 SP1 released - details about changes for web tools
As many of you may heard Visual Studio 2005 SP1 was officially released several days ago. There have already been a couple of blog posts announcing the release from ScottGu and Soma. One item of feedback I saw on those posts was a request for more information about the actual fixes in SP1.
I'm writing this blog post to provide more information about the SP1 fixes in the "web tools" area -- specifically those pieces of Visual Studio 2005 and Visual Web Developer 2005 Express used to target ASP.NET. I'll also include a list of bug fixes we made to "web tools" so people can have more detail into what was fixed. NOTE: the information here only pertains to "web tools" in Visual Studio 2005, and does not represent everything that was fixed in SP1 (there were many other bug fixes in parts of Visual Studio outside of "web tools").
If anyone out there is using Visual Studio 2005 or Visual Web Developer 2005 Express to do ASP.NET development, I highly recommend installing SP1. With SP1 you get the following big benefits for ASP.NET development (I'll cover each in more detail below):
- Addition of Web Application Projects feature (note - does not apply to Visual Web Developer 2005 Express)
- Improvements to performance of ASP.NET features in the IDE
- Bug fixes to many customer reported issues
- Changes to enable support for ASP.NET AJAX scenarios
1. Addition of Web Applicaiton Projects
Web Application Projects is a new feature that is made available in Visual Studio 2005 SP1. Web Application Projects uses a project-file just like Visual Studio 2003 web projects, and provides most of the same functionality available in web projects in Visual Studio 2003. If you are converting a web project from Visual Studio 2003, Web Application Projects makes the conversion pretty much seamless. If you would like to know more about this new feature, there is much more detailed information about Web Application Projects here.
2. Improvements to performance of ASP.NET features in the IDE
SP1 has several improvements to increase performance of the Visual Studio IDE when doing ASP.NET development.
-
The most noticeble improvement to customers will likely be when editing ASPX pages in "source" view. Rather than re-stating everything we've done here, I'll link instead to this great
post from ScottGu describing all the things we do to make ASPX editing faster in SP1.
-
Improved IDE performance when a very large number files exist in the \bin folder of your application.
-
Improved initial loading time of built-in Visual Studio development server.
-
Fixed memory leak when using Wizard inside a View or MultiView control.
-
Open XML file with links to external files was very slow. This has been fixed.
I also highly recommend that people read ScottGu's more general blog post about performance tuning the IDE for ASP.NET development here.
3. Bug Fixes
Below is the list of bug fixes we made in the "web tools" area in Visual Studio 2005 SP1. Once again, please remember, these are only fixes to "web tools" and do not represent all of the fixes in SP1.
Customer bugs reported via MS Connect:
Other Customer reported bugs:
| DTS:VSNET05 IDE crashing issue while creating/opening ASP .Net application project. |
| SRX060719605181: PDB/XML file in BIN still pending source control when reopen solution from source control |
| Large amount of files in \bin folder cause IDE performance to be slow |
| Performance: Add option to turn off prop grid tracking in source view |
| Performance not good in html editor in large files |
| Default scripting language in classic ASP pages is jscript |
| Need to HTMLEncode the category value before placed in the generated schema |
| IntelliSense not working in content pages for ASP.NET AJAX asp: tag prefix items |
| Need to HTMLEncode the category value before placed in the generated schema |
| Validation gets turned on automatically upon view switch with errors |
Crashes reported by cusotmers (i.e. - "send error report"):
| Crash Location |
# of Reports |
| DW Bucket 239321134: Crash caused by CSSPKG.DLL!CCSSCompletionSet::GetCount |
14 |
| DW Bucket 239182652: Crash caused by VSWEBDESIGN.DLL!CStyleSheet::LoadFromURL |
140 |
| DW Bucket 241786858: Crash caused by MSWEBPRJ.DLL!CVsAdviseListEnumerator<ILangFolderEvents>::GetNext |
14 |
| DW Bucket 242260654: Crash caused by MSWEBPRJ.DLL!CClientBuildManager::WaitForAppDomainResetEvent |
13 |
| DW Bucket 242424159: Crash caused by HTMLED.DLL!CTridentClientSite::IsSupported |
27 |
| DW Bucket 238744467: Crash caused by VSWEBDESIGN.DLL!CLSRenderer::BlastLineToScreen |
20 |
| DW Bucket 240078465: Crash caused by TRIDSN.DLL!CTextTracker::BeginTextHighlight |
19 |
| DW Bucket 239630140: Crash caused by VSWEBDESIGN.DLL!CBase::SubRelease |
16 |
| DW Bucket 242553048: Crash caused by VSWEBDESIGN.DLL!CTreePos::GetBranch |
15 |
| DW Bucket 335629143: Crash caused by VSWEBDESIGN.DLL!CStyleSheet::LoadFromURL |
23 |
Bugs found during internal testing:
| New Site, Ctrl-F5 intermittently raises App_Offline error |
| If project file is exclusively checked out, migration from VS2003 to 2005 does not yield consistent results or fail nicely |
| Performance: Cassini not loading assemblies as domain-neutral. |
| script stmt completion doesn't work against activex controls |
| Copy web crashes if you connect to a site that does not exist |
| Lots of validation errors when opening transient HTML documents for debugging |
| Opening the first XML file on remote web projects is really slow. |
| Unloading Web sites can cause P2P, MSBUILD and cassini settings to be lost |
| Launch file system (Cassini) web with vroot of "/" rather than web name, launch URL is http://localhost:12345/ |
| Error VWD does not support creating web sites on a Sharepoint Extensions Enabled Web Server |
| Editing MDF files does not work correctly in Web Application Project after F5 or CTRL+F5 |
4. Changes to enable support for ASP.NET AJAX
Finally, SP1 also has some bug fixes that enable much better support for editing pages with ASP.NET AJAX syntax in Visual Studio 2005. Specifically, it addresses issues of incorrect validation of markup in the "source" view of content pages when using ASP.NET AJAX controls. Also, SP1 fixes scenarios where pages using ASP.NET AJAX syntax would lose formatting when switching between source and design view.
Summary
I hope the information provided here will help users get a more detailed picture of some of the things that are fixed in SP1. I'll also re-iterate that if you are doing ASP.NET development using Visual Studio 2005, I highly recommend installing SP1. Looking forward to your comments, cheers!
-- Omar Khan (Group Program Manager, Web Tools Team)