visual studio 2008 - VS2008 Team compiles the previous code version even after "getting the latest version". How do I fix that? -


I work in the VS2008 team.

I get the latest version from the team server.

I try to compile the new version, but VS-2008 tries to compile the previous version somehow.

Although I restart my PC, VS The latest version does not compile, but the last one.

What am I doing wrong?

You can not be used to control the source control of the team foundation server. It's not like SourceSafe, where "Get the latest" means whatever changes you have with the latest code. With TFS, "Get the latest" means synchronizing your latest code with the latest changes made by other users, which means, if you have made changes to the file locally (or TFS trusts you) , Then those changes will not be overwritten, but instead of merging with any changes in source control of TFS. Many times, if you undo your changes, TFS will only show the latest code in source control. But if you do not have the file checked then there may be local changes that are not in line with any changes made in TFS. I think I have also found that this will motivate TFS to merge those changes because they will not be overwritten. So you have to be careful not to edit local files outside the control of TFS (it really likes to be in control, but it works better than older source control software, I have found, look at step movements Keeps, the name changes).

However, if you exit the sync, you can either remove your local files or say "Get specific version ..." and then to get the latest version You can ask for boxes to overwrite your local files, it does not matter.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -