If your TFS was offline and you made changes to the source code, you're in trouble. Team Explorer doesn't recognize your changes unless you check everything out and back in again.
Here is another way:
- Download the TFS Power Tools 2005 (compatible with Team Explorer 2005) or TFS Power Tools 2008 (compatible with TE 2008);
- Open a command prompt:
- Set your environment path variable to include drive:\Program Files\Microsoft Team Foundation Server 2005 Power Tools or the -2008 path;
- Go to the folder with offline changes, e.g. D:\MySource\
- Run tfpt online;
- Check-in the changes
Be careful with your binary files e.g. DLLs and EXEs. You probably don't want these in TFS.
Hope this helps,