How to seamlessly share code in Visual Studio?
-
I have Visual Studio on two computers. One is at work, so my Microsoft account there is different from my Microsoft account on my computer at home. So far, I take my code back and forth by copying the folder for the solution I'm working on to a thumb drive and taking it with me. That's basically SneakerNet. I figured, with "the cloud" everywhere, there's some way I can set things up so both computers see the same code. I tried with GitHub, but I don't want to get into forks and pulls and what not. I'm not two different people with one suggesting changes to the other and the other approving the changes or not. I just want to access the same code from two different Visual Studio installations with a minimum of fuss. Any ideas? Thanks!
I would think OneDrive or DropBox, etc. with an "shared" folder is minimal. You still need to upload / download (the project) though. To me eliminating the thumb drive step is the main point.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
I have Visual Studio on two computers. One is at work, so my Microsoft account there is different from my Microsoft account on my computer at home. So far, I take my code back and forth by copying the folder for the solution I'm working on to a thumb drive and taking it with me. That's basically SneakerNet. I figured, with "the cloud" everywhere, there's some way I can set things up so both computers see the same code. I tried with GitHub, but I don't want to get into forks and pulls and what not. I'm not two different people with one suggesting changes to the other and the other approving the changes or not. I just want to access the same code from two different Visual Studio installations with a minimum of fuss. Any ideas? Thanks!
You also have the issue of taking the code home with you. The code you write at work is the property of the place you work at. The real questions are "is your employer OK with you taking the code home?" and "are there legal issues you need to deal with by exposing the code outside of the work environment?"
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
I have Visual Studio on two computers. One is at work, so my Microsoft account there is different from my Microsoft account on my computer at home. So far, I take my code back and forth by copying the folder for the solution I'm working on to a thumb drive and taking it with me. That's basically SneakerNet. I figured, with "the cloud" everywhere, there's some way I can set things up so both computers see the same code. I tried with GitHub, but I don't want to get into forks and pulls and what not. I'm not two different people with one suggesting changes to the other and the other approving the changes or not. I just want to access the same code from two different Visual Studio installations with a minimum of fuss. Any ideas? Thanks!
Listen to Dave - it is important. If you can set up a shared drive between work and home (google, one drive, dropbox etc) then you can set the project folder to that drive within VS.
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
I would think OneDrive or DropBox, etc. with an "shared" folder is minimal. You still need to upload / download (the project) though. To me eliminating the thumb drive step is the main point.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
Listen to Dave - it is important. If you can set up a shared drive between work and home (google, one drive, dropbox etc) then you can set the project folder to that drive within VS.
Never underestimate the power of human stupidity - RAH I'm old. I know stuff - JSOP
-
You also have the issue of taking the code home with you. The code you write at work is the property of the place you work at. The real questions are "is your employer OK with you taking the code home?" and "are there legal issues you need to deal with by exposing the code outside of the work environment?"
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave KreskowiakThanks! I understand those concerns and, fortunately, it's nothing like that. I've always coded as a hobby and to make shorter work of my work at work. After many years in IT user support, I aged out and am now a legal secretary at a small law firm. The pay's just as good and I'm never on call! :laugh: I'm working on a document generation system based on Word template files. It would have no commercial value because case management software these days comes with that feature. It's just that our firm is too small for a full-blown case management system. It's like writing a basic word processor for your uncle who runs a business but can't afford MS Office.
-
Thanks! I understand those concerns and, fortunately, it's nothing like that. I've always coded as a hobby and to make shorter work of my work at work. After many years in IT user support, I aged out and am now a legal secretary at a small law firm. The pay's just as good and I'm never on call! :laugh: I'm working on a document generation system based on Word template files. It would have no commercial value because case management software these days comes with that feature. It's just that our firm is too small for a full-blown case management system. It's like writing a basic word processor for your uncle who runs a business but can't afford MS Office.
Then keep the code at work; you can Remote Desktop to your dev PC if you want to work on it from home. Anything you write during work hours is owned by the company.
Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
-
Thanks! I understand those concerns and, fortunately, it's nothing like that. I've always coded as a hobby and to make shorter work of my work at work. After many years in IT user support, I aged out and am now a legal secretary at a small law firm. The pay's just as good and I'm never on call! :laugh: I'm working on a document generation system based on Word template files. It would have no commercial value because case management software these days comes with that feature. It's just that our firm is too small for a full-blown case management system. It's like writing a basic word processor for your uncle who runs a business but can't afford MS Office.
For (small, or any) business document management, I would recommend SharePoint Online. It's like $5.00 per month per user; quit any time. You'll never match what it provides out of the box.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
For (small, or any) business document management, I would recommend SharePoint Online. It's like $5.00 per month per user; quit any time. You'll never match what it provides out of the box.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
I have Visual Studio on two computers. One is at work, so my Microsoft account there is different from my Microsoft account on my computer at home. So far, I take my code back and forth by copying the folder for the solution I'm working on to a thumb drive and taking it with me. That's basically SneakerNet. I figured, with "the cloud" everywhere, there's some way I can set things up so both computers see the same code. I tried with GitHub, but I don't want to get into forks and pulls and what not. I'm not two different people with one suggesting changes to the other and the other approving the changes or not. I just want to access the same code from two different Visual Studio installations with a minimum of fuss. Any ideas? Thanks!
Using GitHub when you are the only one changing the code, you don't need to do forks or pulls. Check in everything (code working/compiling or not doesn't matter) from your work computer. Check it out when you come home to your home computer, and you're back where you left off. Before you go to sleep, check in everything (working or not), and the next morning at work, you're back where you left off. Maybe I misunderstood this completely since I don't understand why you are mentioning "Microsoft Account" ? Use your own account! What has "account" to do with your GitHub space. Please don't tell me you're using Visual Studio's GitHub implementataion. It sux!!