Refresh File in Solution Explorer in VS2005

  • Thread starter Thread starter danielsanberger
  • Start date Start date
D

danielsanberger

Hi all,

I wonder how I can refresh a File in my solution, that I have changed
from an outside editor! It doesn't seem to be possible!
The scenario is, that I added a Reference (File.cs) to the Project
first. Then I replace that file in Explorer through a newer version
with the same name.
But my solution explorer still shows the old version, how can that be?

The only way seems to be, to delete the File in the Solution Explorer
and than add a new Reference.

Is it because I use a msssc (cvs)?

Greetings
Daniel
 
You should be able to simply refresh the solution and see the file. In fact,
opening the file should show you the latest code. In fact, Visual Studio
should warn you that the code has been edited outside of the IDE if you have
it open. The only exception is code under SourceSafe and then only if you do
something yourself.

I would make sure you are saving to the correct location, as this could be
an issue. With web applications, esp., you can end up with source in more
than one location. This is not a problem in VS 2005, but is still a potential
issue in VS.NET 2003.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
In fact it is a SourceSafe problem! VS2005 has no problem without it,
but in using cvs/tamtam, it cannot see, that the file has been modified
by an outside-editor!

bug?!
 
Back
Top