TFS 2012 Checkin on Server

Jennifer
Jennifer used Ask the Experts™
on
I am using TFS 2012. Developers are using and can check in their changes. However right now once they check it in they can't see if...meaning...if they go to the test site their changes are not there. The changes are on the server however they are waiting for me to go in and get those changes. So I have to go into the server and do a get latest to make the changes show up on the test site. It even does it to me when I make changes on my local and check into the test site. The only time I don't have to do this is if I make the changes directly in the test VS. I don't want to have to go in and do this.
I want it to check in and make the latest available when anyone checks in changes.
I have tried changing between workspace and not workspace. I have also give permissions.
I did not have this problem on previous versions.

What am I missing?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2008

Commented:
I need more detail.  For example:

What does "test site" mean?
How are you using TFS (command line, Windows Explorer, Visual Studio?
A few select screen shots, that don't show sensitive information, might help
JenniferIT Director

Author

Commented:
Test site is a test website.
I have a test development server. It has all 'test' applications and websites. It has Visual Studio 2012 with Team Foundation Server 2012. Developers, including myself, work locally putting changes on the test server where it is tested by other individuals (tested as in using as a normal user would to check for functionality, etc.; I am not running the test options within VS)
I am using TFS through VS (Source Control Explorer mostly). I have Team Explorer also.

I am not sure if screen shots will help or what screen shots you would want.
Basically I make changes locally, I check them in (they are going to the test server), I go to the test website (where I just put these changes), they are not there...I have to logon to the server, go to either source control explorer or I can even go to the folder and right click, either way, I have to 'Get Latest'. Once I do that then the latest checked in changes are available and can be seen.
When you check in changes into TFS, that does not then put the files onto your test server, only into TFSs file repository.

Then when you go to the test server, which I'm assuming also has a connection to TFS you have to then manually on this machine do a get latest. To do this automatically you will have to write a batch file that runs continuously.

This is the msdn page about the Get command

https://msdn.microsoft.com/en-gb/library/fx7sdeyf(v=vs.110).aspx
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

JenniferIT Director

Author

Commented:
TFS is on the test server so yes it has a connection, it is the connection. I was trying to set it so that the TFS repository was the test sites. IIS maps to the TFS folder for the website. Is there not a way to bypass repository? I was wondering if this had anything to do with the new way of workspaces and such in this version.

Any thoughts on creating a batch file?
The repository stores the files in an encrypted form, so they are not readable without getting the latest version.

What TFS saves is the differences between this version and the last, not the whole file.

What you are mapping is the local folder, not the TFS repository

I would start with the simple 'tf get' as in the examples on the page I linked above, which should get everything, I've never used it this way so I can't help much further.
JenniferIT Director

Author

Commented:
I will take a look and see what I come up with.
JenniferIT Director

Author

Commented:
This gave me enough of an answer. Basically looks like I will need to create a batch file to do what I need however have not had the time to do it. I am just going in and doing the get latest manually right now.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial