Welcome to MSDN Blogs Sign in | Join | Help

Visual Web Developer Team Blog

Your official information source from the Visual Web Developer team.

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Downloadable Hotfix: Publish command fails when Virtual Path is set to /

One of the convenient new things in Visual Studio 2005 SP1 is the ability to set the built-in ASP.NET Development Server to use "/" as the Virtual path for when it runs.  This is very useful for development of web apps that will eventually be deployed to the root folder of a web server, or for web applications that use server root relative URLs (e.g. - "/images/foo.jpg").

However, when you set the Virtual path of the built-in development server to "/" for a Web site, you may encounter an issue with the Publish Website command not working.  This may result in either of the following error messages:

 

I'm glad to announce that our team has a hotfix available for download that fixes the above described issue.  If you are running into this problem after installing Visual Studio 2005 SP1, please download the hotfix and that should make the Publish Website command work as expected.

On a related note, both Visual Studio and the .NET Framework make all high-impact hotfixes available for download at the following website: https://connect.microsoft.com/VisualStudio/Downloads.

Hope this information helps!

Cheers,

Omar Khan
Group Program Manager
Visual Studio Web Tools

 

Posted: Monday, April 23, 2007 9:19 PM by WebDevTools

Comments

ScottGu's Blog said:

Two weeks ago I posted about the availability of a public hotfix patch for some ASP.NET 2.0 compilation

# April 24, 2007 2:31 AM

BusinessRx Reading List said:

Two weeks ago I posted about the availability of a public hotfix patch for some ASP.NET 2.0 compilation

# April 24, 2007 3:26 AM

ASP.NET said:

Two weeks ago I posted about the availability of a public hotfix patch for some ASP.NET 2.0 compilation

# April 24, 2007 3:37 AM

Test said:

When installing in Vista with Visual Studio 2005 SP1 does not work. After installing the hotfix the error still comes up. I don't think it is replaceing the file mswebprj.dll with the correct version.This is what is it suppose to be per microsoft's site Mswebprj.dll 8.0.50727.813 1,329,152 28-Feb-2007 07:24 x86. But when looking at the file after installing the hotfix i get this information Mswebprj.dll 8.0.50727.867 1.26 MB (1,330,688 bytes) 22-Feb-2007  You should look into this.

# June 7, 2007 11:21 AM

WebDevTools said:

Hello "Test",

Thank you for reporting the issue with installing on Vista.  We have confirmed the issue (it occurs if you have the VS2005 update for Vista installed) and are working on an updated patch.  Please look for an update from me on this blog in a week or so.

--Omar

Group Program Manager

Web Tools

# June 12, 2007 1:59 PM

Your Websites, Our Passion! said:

I am glad to announce that an updated version of a Publish Website hotfix for VS 2005 SP1 is now available

# July 3, 2007 3:09 PM

WebDevTools said:

# July 3, 2007 3:20 PM

Noticias externas said:

I am glad to announce that an updated version of a Publish Website hotfix for VS 2005 SP1 is now available

# July 3, 2007 4:17 PM
New Comments to this post are disabled
Page view tracker