Search

Rebuild Web Site Doesn't Refresh All Files by tomtrias

Closed
as Fixed Help for as Fixed

1
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 225952
Opened: 10/13/2006 12:28:31 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I have a growing WSP (via FPSE to an IIS 6.0 development server) that dependends upon a class library in the same solution (project reference). There are multiple developers working on the WSP, albeit in separate directories.

I am the project leader (and I am responsible for the class library), so I perform periodic rebuilds in order to verify site consistency as a whole. I have noticed that a web site rebuild does not always get the latest versions of the ASP.NET files from IIS; rebuild solution seems to fare marginally better.

Also, I ran into a sitiuation in which neither rebuild option would publish the class library, even though it is set to refresh. I suspect that this was because another developer somehow touched the refresh file, but the only way I could get it to refresh was to delete the contents from bin and try again. There was nothing to indicate that the update had or had not happened (the message regarding the upload in the status bar isn't up for very long - maybe the refresh status could be dumped to output even when no refresh occurs or when it is successful?), so the only way I noticed this issue was because I was getting errors regarding newly added classes. FYI, removing the reference via the property pages caused VS 2005 SP1 to crash.

Thomas S. Trias
Details (expand)
Product Language
English
Version
Visual Studio 2005 Professional Edition
Operating System
Windows XP Professional
Operating System Language
English
Programming Language
VB
Technology Area
Visual Studio 2005
Steps to Reproduce
Create two WSP FPSE projects from different machines. Build each to generate a local cache. Make modifications on one, and then rebuild on the other.

For the DLL issue, I wish I knew. Maybe touch the timestamps on either the DLL or the refresh file on the IIS server?
Actual Results
Local cache / build did not get updated ASP.NET pages

Remote bin directory did not get updated DLL
Expected Results
Complete refresh of local cache for rebuild

Update of remote DLL
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 10/18/2006 at 1:44 PM
Thanks for the reporting the issues. We will investigate it.

John
Posted by tomtrias on 12/12/2006 at 10:08 AM
Publish has a neraly identical issue. See https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=244912
Posted by Microsoft on 1/16/2007 at 10:58 PM
Thank you for submitting this issue. The bug has been resolved Fixed, and its resolution shipped as part of Visual Studio 2005 Service Pack 1 (SP1).

You can download SP1 at http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx. If installing SP1 does not resolve the issue for you, please reactivate.

Thanks again for your feedback!
-Scott Currie
-DDTFA Program Manager
Posted by kulov on 6/19/2007 at 5:44 AM
I am experiencing the same problem in SP1. There are about 100 external dlls in our project. When I try to build it, VS blocks for some minutes and after it is back again, only part of the dlls are copied to the bin folder.