Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

VS2012 Won't Publish Website with Virtual Folders

$
0
0

I have several web sites that contain virtual folders in the project and will not publish.  The error is "/website/virtualfolder/foo.ascx does not exist.

If I run the project in debug mode using IIS express everything runs and works great.  It's only on the publish that this has started to fail.  This has worked in the past and I believe that something in Update #3 for VS2012 has caused this error to occur.

The only work around I have found is to copy the contents of the virtual folders to physical folders in the web site and publish.  Once the website has been deployed to the web server, I remove the physical copies of the virtual folders and the web site works using the original virtual folders on the web server.

Has anyone come across this same problem?  Is there a fix for this?


Viewing all articles
Browse latest Browse all 2763