Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / March 2006

Tip: Looking for answers? Try searching our database.

refresh doesn't work in VS.net 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RedHair - 23 Mar 2006 06:53 GMT
Before , when using Visual InterDev + VSS 6.0 to develop ASP web project,
in VI, click refresh will refresh the project folder structure without
download
any physical file to local, click "Get latest version" will get the file.

But in VS.NET 2005 + VSS 2005 , the refresh doesn't refresh folder
information,
I need to use get latest version to refresh and download file to local.

It's normal ?
Alin Constantin [MSFT] - 25 Mar 2006 21:58 GMT
I'm not sure what kind of web projects are you using in VS2005...

FrontPage web projects (remote websites, Interdev) don't have
GetLatestVersion command.
If you're talking about the Refresh command from SolutionExplorer, that
should show the latest version of the website (all users work on the same
files).

http://localhost web projects (isolation mode websites) have
GetLatestVersion. Opening the Get.... dialog instead should show you which
files are new in the VSS database and will be brought into your enlistment
if you continue with the Get.
The Refresh command in SolutionExplorer refreshes the hierarchy in
SolutionExplorer with the content of the current enlistment (not from th
eVSS database)
The Refresh command in File/SourceControl menu refreshes the source control
status of files you already have in your enlistment.
Signature

Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.

> Before , when using Visual InterDev + VSS 6.0 to develop ASP web project,
> in VI, click refresh will refresh the project folder structure without
[quoted text clipped - 6 lines]
>
> It's normal ?
RedHair - 28 Mar 2006 20:24 GMT
It means I need to use "Get" instead of "Refresh" command to check
the latest project hierarchy?

> I'm not sure what kind of web projects are you using in VS2005...
>
[quoted text clipped - 23 lines]
>>
>> It's normal ?
Alin Constantin [MSFT] - 29 Mar 2006 02:29 GMT
What kind of web projects are you working with?

If you have FPSE web projects (Remote web sites), use Refresh command (from
SolutionExplorer's toolbar).
If you have localhost websites, use Get... or GetLatestVersion commands from
context menu or File/SourceControl.
Signature

Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.

> It means I need to use "Get" instead of "Refresh" command to check
> the latest project hierarchy?
[quoted text clipped - 28 lines]
>>>
>>> It's normal ?
RedHair - 29 Mar 2006 03:34 GMT
Thanks again.
Is it possible to have a FPSE web project with SourceSafe in remote site?
I want to update the source code of remote site automatically while I
check-in
file into VSS 2005 db each time. How to set up?

Currently, I have a web project with sourcesafe control in a remote site.
I can open the web project from my local machine by selecting VSS db, then
I'll
get a copy of the project in my local machine, however each time I check in
files
into VSS db, the remote site won't be updated.

What will happen if I open a remote web project (w/ source safe) via FPSE?
not via VSS db option.

> What kind of web projects are you working with?
>
[quoted text clipped - 34 lines]
>>>>
>>>> It's normal ?
Alin Constantin [MSFT] - 29 Mar 2006 05:58 GMT
> Is it possible to have a FPSE web project with SourceSafe in remote site?

Yes. You'll need VSS installed on the remote machine, then configure the
website in IIS manager to use SourceSafe as External source control
provider.
The configuration steps depends on the OS type on the remote machine. See if
this page helps or if not search the web for "frontpage and sourceSafe"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sccvs70/html/ve
urfaddingfrontpagewebapplicationstosourcecontrol.asp

Then on the client machine, open the website in VisualStudio using
File/Open/WebSite/RemoteSites. You don't need VSS installed on client
machine to work with this website.

> I want to update the source code of remote site automatically while I
> check-in file into VSS 2005 db each time. How to set up?

With FPSE, you don't update the source code in website when you checkin in
VSS, it's the other way around.
All users working on this web project work work on the same files (directly
in the remote website), and the website can be configured on the server to
use VSS(External) as backend to keep history. I suggest to read the help and
Msdn about web projects in VS2005.

> Currently, I have a web project with sourcesafe control in a remote site.
> I can open the web project from my local machine by selecting VSS db,

If you have opened the projects from VSS dabase
(File/Open/WebSite/SourceControl), those projects are using file-share
access, not FPSE.
If you have file share access to the machine you want automatically updated,
and want to work with file-share webs, you can use Sourcesafe's Shadow
Folders feature and set a shadow folder from the $/website to the remote
share \\remotemachine\wwwroot$\website. See more information about shadow
folders here http://msdn2.microsoft.com/en-us/library/byx8tbka.aspx. Then in
VS2005 you can continue to use the local copy of the web (opened either as a
localdisk web or localhost web), and VSS will take care of updating the
shadow folder on checkin (updating this way the files in the remote
machine's share). You need VSS on client in this config, and you don't need
it on the server.
Signature

Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.

> Thanks again.
> Is it possible to have a FPSE web project with SourceSafe in remote site?
[quoted text clipped - 51 lines]
>>>>>
>>>>> It's normal ?
RedHair - 29 Mar 2006 09:20 GMT
> (File/Open/WebSite/SourceControl), those projects are using file-share +
> VSS 2005 shadow folder
This way is like the isolated development environment?
simliar to Visual InterDev 6.0 + VSS 6.0 model?

"Alin Constantin [MSFT]" <cnila@tfosorcim.moc> ¼¶¼g©ó¶l¥ó·s»D:%23galO2uUGHA.4864@TK2MSFTNGP12.phx.gbl...
>> Is it possible to have a FPSE web project with SourceSafe in remote site?
>
[quoted text clipped - 90 lines]
>>>>>>
>>>>>> It's normal ?
Alin Constantin [MSFT] - 30 Mar 2006 05:24 GMT
>> (File/Open/WebSite/SourceControl), those projects are using file-share +

> This way is like the isolated development environment?

This IS the isolated development model.

> simliar to Visual InterDev 6.0 + VSS 6.0 model?

I'm not very familiar with VID6, but I think it used
FrontPageServerExtensions, so if I'm correct VID was more like RemoteSites
in VS2005 (which is non-isolated development).

The isolated/non-isolated terms are explained in this article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/tdlg
_ch2.asp

(a bit old, since it targeted VS2002, but still a good reading to know where
you want to go)
Signature

Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.

>> (File/Open/WebSite/SourceControl), those projects are using file-share +
>> VSS 2005 shadow folder
[quoted text clipped - 102 lines]
>>>>>>>
>>>>>>> It's normal ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.