Visual Studio 2005 SP1 released - details about changes for web tools

Visual Studio 2005 SP1 released - details about changes for web tools

  • Comments 30

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):

  1. Addition of Web Application Projects feature (note - does not apply to Visual Web Developer 2005 Express)
  2. Improvements to performance of ASP.NET features in the IDE
  3. Bug fixes to many customer reported issues
  4. 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:

Title MS Connect Link
Incorrect CSS stylesheet warnings http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=109855
Tag elements are inserted in uppercase in a css stylesheet! http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=118815
Cannot use Help http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=118444
Cassini loads page intoSubfolder when launching from Web Site http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=218621
Rebuild Web Site Doesn't Refresh All Files http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=225952 
Pasting a large amount of text into a HTML file caused a crash... http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=106592 
VS2005 crashes when selecting Tag contents on Design view http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=109756 
typing in .htm solution items is very slow to respond http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=219978 
Format the whole document change custom attributes syntax http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104740 
format document command corrupts casing of asp statements http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=118314 
HTML indentation cannot be turned off http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=119056 
asp' is an unrecognized tag prefix or device filter http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104946 
Designer re-formats HTML code when using Master Page http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=110961 
Web site publish target location is not persisted http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102857 
Error when renaming asp.net control IDs in design view http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101997 
VS Memory Leak when a Wizard inside a View inside a MultiView http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=103420 

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)

Leave a Comment
  • Please add 1 and 6 and type the answer here:
  • Post
  • I am searching such a description of sp1

    3x

  • нашел интересный блог команды Веб разработок Microsoft. В числе последних постов довольно подробное описание

  • Thanks, we were very curious about improvements in SP1. I specially like improved performance of Refactoring.

  • If you are an ASP.NET AJAX developer, I recommend you grab SP1 of VS2005… Not only does it include tons

  • Thanks for this post Omar.  This sort of thing is very important in my book so that companies can make a more educated decision to apply the patch.

    Great job collating this all together.

  • But still no nested masterpages... Too bad, I was hoping for that one.

  • 摘要本期共有7篇文章:JavaScript脚本和LINQ?VisualStudio2005SP1发布——Web相关的改进小技巧:使用VisualStudio2005SP1的本地W...

  • Not able to open remote sharepoint 2007 site.

    Please help.

  • In you were out the second half of December, you might have missed some of the VS 2005 Service Pack 1

  • In you were out the second half of December, you might have missed some of the VS 2005 Service Pack 1

  • I installed SP1 - now the Web Application Projects fail to load - VS thinks fora few minutes and then does a quick exit - any suggestions?

  • After reinstalling a 2nd time (it did install the first time) it started finding the projects - the PC is runninh Win XP Media Center with all updates.

  • Can web site that use javascript be tested using SP1? Per MS support, VS2005's testing tools will not work with web site that use javascript.

    Thanks

  • Hello TB,

    The testing tools in Visual Studio 2005 work with managed code (e.g. - VB / C#).  VS 2005 also has a web recorder that allows you to create automated web tests from a browser to do load testing on the server.  Specifically the JavaScript code that runs in the browser cannot be tested in an automated fashion using VS2005, however the rest of the application can still be tested in an automated manner.  Hope this helps.

  • 【原文地址】 A few VS 2005 SP1 Links and Information Nuggets 【原文发表日期】 Monday, January 01, 2007 8:24 PM 如果你在12月份的下半个月出去了,你也许错过了我早先写的几篇关于VS

Page 1 of 2 (30 items) 12