We have a project we are sharing for remote developers. The projects are
visable and most of the files are there except for the newer ones. If I
create a new file on the project it doesnt appear in the remote developers
solution explorer. I have the working directory and the site published under
the same folder.
Any ideas,
Steve Wofford
www.IntraRELY.com
Hi Steve,
Thanks for your post. As I understand, the problem you are facing is that a
web project is opened in several systems simultaneously, and adding a new
file to the project on your system will not be reflected to other. Please
correct me if there is any misunderstanding. Now I'd like to share the
following information with you:
When you create a new file in the project, it will not write the
corresponding information to the project file (say, .csproj file) until you
save the project explicitly. I believe that is the reason why the remote
developers cannot see the new file immediately. You need to save your
project, and others closing and re-opening the project should see the
changes.
In addition, I recommend you the KB article on "HOW TO: Connect to Existing
ASP.NET Web Applications on the Remote Web Server" at
<http://support.microsoft.com/?id=825790>
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
IntraRELY - 25 Nov 2003 16:57 GMT
Huang,
You are correct in your understanding. And thanks for your help.
We are experiencing the problems even after we save and build the solution.
We followed the article. The only differance is the we set the Front Page
Ext. through Front Page and added the users there. I dont believe we have
to set them up like a network share for our enviornment. The remote
developers can see the files they just seem to be very dated.
A few things I have noted. It appeared to update the files when I used the
Project>Web Projects>Synchronize All Folders. This seemed to let the remote
developer see the newer files, but it seemed to really mess things up on my
side, so I am not sure what that did and cannot have it replacing files here
locally.
The only thing else I can see is the is a differance between a few settings:
1. In Project>myProject Properties - under Web Settings it is set to File
Share. However in the Tools>Options>Projects>Web Settings>Web Server
Connection(This is from the Article you sent me) it is set to Front Page
Extentions. Correct me if I am wrong, but is one to set just the one project
for the FP Extentions and the other to set all projects for FP Extentions.
2. Under the Web Server Connection there is a setting for Offline Projects
and is set to:
C:\Documents and Settings\SWofford\VSWebCache
I also check repair links, but didnt seem to help. The VSWebCashe may
explain why the Synchronizing worked as I stated earlier.
Any thoughts appreciated,
Steve Wofford
www.IntraRELY.com
> Hi Steve,
>
[quoted text clipped - 25 lines]
> Get Secure! -- www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Tian Min Huang - 27 Nov 2003 13:38 GMT
Hi Steve,
Thanks for your update. It seems to me there are several developers will
open the same Web project and may change the file/project simultaneously. I
believe this is not a good scenario because a user's saving a file will
overwrite the previous changes by other user, and thus may produce
unpredictable behavior. As in this case, I strongly recommend you use
source control (say, Visual SourceSafe) to ensure that a file can only be
modified by one user at a time. I believe the article below is helpful:
Web Projects and Source Control Integration in Visual Studio .NET
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechar
t/html/vetchWebProjectsSourceControlIntegrationInVisualStudioNET.asp
I look forward to your feedback.
Have a nice day!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.