Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Working on the same project via multiple machines

I like to work between my laptop and desktop during different parts of the day. I have recently installed VS 2010 Ultimate (Extreme) and am wondering the best way to go about sharing a project across these two machines. Whether to go with something like subversion, or whether to put the project on a network drive and open it on the current machine I am on. Any thoughts or warnings from someone more experienced much appreciated.

like image 382
Chin Avatar asked Aug 23 '10 01:08

Chin


People also ask

Can I install Visual Studio on multiple computers?

Yes, you can. An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.

How do I run a Visual Studio project on another computer?

Copy Visual Studio/VC ++ from One Computer to AnotherStep 1: Navigate to the folder C:\Users\YourUserName\Documents\Visual Studio Projects. Connect your flash drive to your computer. Step 2: Open the flash drive in a new Windows Explorer. Step 3: Copy the project folder and paste it onto your flash drive.

How do I share a project in Visual Studio?

In Visual Studio 2019, enter shared in the search box on the Create a new project page. Select the Shared Project template and then select Next. Enter a name for the project, and then select Create. In Visual Studio 2017, select the Shared Project template, and then choose a name for the project.


1 Answers

I would most certainly go with Subversion or Git.

I have a work & home desktop + a laptop on which I do all my dev work.

I save all my changes to Subversion (which in itself is good practise) and it also means that I can carry on from where I left off really fast.. A quick Update command gets my latest code and I'm ready to go..

Also, to save me from having to copy databases or run database projects, I run my DBs on my work PC (which I never turn off) and access it via VPN. There's no need to change connection strings in my apps either since My-PC\SQLEXPRESS works both from My-PC and from the other 2 computers (because they're on the same network).

like image 188
Marko Avatar answered Nov 15 '22 07:11

Marko