SkyDrive & Visual Studio 2012 syncing issues - visual-studio-2012

I am trying to host all my projects on the cloud, and I am having problems with the names syncing with each other. If I edit a file, it doesn't know. Why doesn't it push a SkyDrive update?
If there is an alternative (free) to SkyDrive & VS, let me know.

If you are the one who own the projects, I suggest you to create Bitbucket account. You can store unlimited private repositories for free unless you have more than 3 developers.

I've been using DropBox for the past few years to hold my projects and I've never had any issues with it. Heck, if you also needed a SVN repository, you could set up TortoiseSVN, on it and use Dropbox as a repository. Of course they only give you 2GB of storage for free (which can be increased via referrals). I have around 16 websites and projects on there, as well as other documents and I'm not using 10% of what I have (about 3.2GB).

You can also keep you code in the source control hosted on the cloud. I have been using free TFS online which also supports Git. It works seamlessly with Visual Studio 2012.

Related

How can I install Team Foundation Server 2010 without a DVD?

I have a client who has TFS 2010 and I need to setup my own installation on an Azure VM in order to do some testing, and help them migrate off of TFS 2010 to TFS 2015. However, I cant for the life of me seem to locate a setup .exe online for Team Foundation Server 2010. Is this still possible? Do I need a physical DVD?
The instructions here
https://www.microsoft.com/en-us/download/confirmation.aspx?id=24337
ask to use the physical DVD, but I dont have one.
According to this link https://social.msdn.microsoft.com/Forums/vstudio/en-US/56343ed9-6c0c-4c17-89d1-62b4bb3cf645/visual-studio-team-foundation-server-2010-setup-downloadable-link?forum=tfsbuild
Its available for MSDN subscribers, but I dont see any TFS versions below 2015 on MSDN download page.
I have found the service pack 1 install, but not the setup for the full product. can anyone help me locate a setup exe online so that I can get this running? Thank you in advance.
Seems you are installing TFS 2010 to simulate some existing environment and test configuration changes. However, there is not any setup.exe for TFS 2010 in official site for now.
It's unsupported and 8 years old. There have been five major releases since then. We encourage users move to newly version of TFS server. Either back up the TFS2010 database and do the move directly or use some other machine with DVD to install the TFS2010 ISO image for a test.

Simplest way to promote successful online TFS builld to production - Azure

Firstly, apologies that the question is not strictly about programming, but how to simply promote an Azure website through environments. If anyone can suggest a better place for this question to be posted then please fee free.
Scenario
I have a two Azure website environments. Lets call them:
www.myTestSite.com
www.myProductionSite.com
I am using Visual Studio 2013 and am using TFS on Visual Studio Online.
I have managed to configure everything to the point where I can check in to TFS and on a successful build, automatically deploy to www.myTestSite.com.
The files are saved in a 'Drops' folder on Visual Studio Online (TFS). It all works great up to this point.
What is the simplest way of then taking one of these successful builds and promoting it to www.myProductionSite.com?

Is a good practice to install Visual Studio in the same server as TFS?

We are having compilations problems in a TFS server and it's because the server lacks several libraries built in the default VS2012 Premium installation (Microsoft Fakes in this case).
I'm unsure of going ahead installing a full instance of VS, but first I want to know what is the best practice in this regard?
What is recommended?
Since we are talking a sandbox, do whatever and don't worry about it. If we are talking best practices, it's not a good idea to put your build tier on the app tier / data tier. Any developer could check in code that gets run on the server during the compile and trash your entire environment.
Have you looked at Visual Studio Online? It's a hosted TFS service and you can use their hosted build controller or configure your own. That makes for a very good sandbox IMO.
I don't see any issue installing VS on the TFS server(I assume you run your builds on that server too and that's when you are seeing the problem. Ideally tfs server and build box should be separate but some people use the same box.)
I have used Visual Studio on the build box several times to debug issues with builds. You just need to make sure you close the VS instance (if it has a solution open) once you are done with debugging otherwise your builds can fail when they try to clean up the project directory at the start of the build.
We run a single server TFS instance which has everything - sql, SharePoint and tfs - running on it. It is also a build server so it has to have VS 2010 and 2012 installed. We've done this with all versions since 2005 and have had no issues with it at all.

Hooking up a local VS2012.2 project back up to tfs-git

I'm having difficulty searching for the exact answer to my question. Apologies if its been asked many times.
I've been developing on Visual Studio 2012 Update 2 for some time and having changes tracked and saved in a TFS-GIT repository, alongside the equivalent local repo stored on my hard disk.
About two weeks ago, my laptop got stolen. I've got all my tools back onto a new laptop but struggling with getting my project back the way I had it before it got stolen.
Essentially, I can see the Visual Studio Project locally on my hard drive, with its local git history. I can also see the remote version in TFS, with the exact same history. I open the project locally on my visual studio, and then try to connect to the remote tfs store. When the project loads, all of the files and folders within the project have the pending delete symbol (red cross) on each of the files, as if the remote connection has gone in a folder to high and the two structures are out of sync with each other.
Can anyone help me with how to connect the two together again properly
Not really sure to understand your problem (and to know if you are using git-tfs). What are you really want to do? use git-tfs to work and commit on TFS? or use TFS but use git-tfs as a backup solution?
Anyway, I will try to give you some tips.
Essentially, I can see the Visual Studio Project locally on my hard
drive, with its local git history.
If that's the case, you only have to open your solution, work and create local git commits.
After, you only have to the TFS server.
Perhaps, you could bootstrap your local git repository if you were using git-tfs (but not 100% sure you need it) by :
git tfs bootsrap
To commit on a TFS server, use :
git tfs rcheckin
And that should be all...
I open the project locally on my visual studio, and then try to connect to the remote tfs store.
If you are using git-tfs, you don't have to. Git-tfs use its own workspace in a hidden directory of the .git folder.
Hope it will help. Even if there is not enough informations to provide a good answer.
Feel free to use the wiki for more informations :
https://github.com/git-tfs/git-tfs/wiki/Bootstrap
https://github.com/git-tfs/git-tfs/wiki
PS : if you are using git-tfs, don't install the "Git Source Control Provider" because you can't open a git repository in Visual Studio and in the same time connect on a TFS server to get builds result, workitems, ...

Synchronization between TFS 2008 and TFS 2010

I am in a situation where the corporation has just recently upgraded to TFS 2008. They have no intention of upgrading to TFS 2010 at this time. As a development group, we've moved to Visual Studio 2010 this week. As with any large corporation, we cannot get our own environment created to install TFS 2010. Steps on too many toes, and isn't corporate standard. Etc.
I want to take full advantage of the new testing features in relation to the new UI Testing and other features. This appears to require TFS 2010. So my "dream" is to do my daily work at the office and write tests, but at night, have my code synchronized with my TFS 2010 server at home and run automated builds with the full testing capabilities enabled.
So is there is best practice for this? I've read up on the Workspace theory and the binding issues that are involved and that sounds the biggest hurdle to overcome.
Possible Solution - Create two workspaces $/WorkProject and $/WorkProject-Mirror and use a custom application using FileSystemWatcher to kick off a job that synchronizes code changes and a custom rewrite of the bindings. Use job on work laptop and home machine to allow bi-directional binding.
Research to see if TFS Integration Platform will help with this
You are correct the new testing UI (Test Manager 2010) requires TFS 2010, you are also correct that you can use the TFS Integration Platform between a TFS2008 & TFS2010 server. Then use test manager on the 2010 server.
All the above should be easy, the tough part will be the bindings in the solution file. I would suggest you have a second one created that points to your TFS2010 server so that you can open the correct solution file for the correct environment without stepping on your co-workers toes.
I think the two workspace route is overkill, it's just a solution file you need.
I wonder if you could use a read-only account to perform a get from TFS2008 and then do a check-in to your TFS2010 with a more-privileged account. I'm sure those two things and a little clever PowerShell scripting could get you what you're looking for.
I would encourage you to write a second utility to monitor that this script continues to work and to notify you if it detects a failure or something.

Resources