Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Development
  4. How to seamlessly share code in Visual Studio?

How to seamlessly share code in Visual Studio?

Scheduled Pinned Locked Moved Windows Development
11 Posts 5 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R RobertSF

    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!

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    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

    R 1 Reply Last reply
    0
    • R RobertSF

      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!

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #3

      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

      R 1 Reply Last reply
      0
      • R RobertSF

        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!

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #4

        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

        R 1 Reply Last reply
        0
        • L Lost User

          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

          R Offline
          R Offline
          RobertSF
          wrote on last edited by
          #5

          Well, I guess up/downloading the project isn't a deal-breaker. Much better than carrying the USB around. Thanks!

          1 Reply Last reply
          0
          • M Mycroft Holmes

            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

            R Offline
            R Offline
            RobertSF
            wrote on last edited by
            #6

            Yeah, I guess that's the way to go. I'll look into it.

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              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

              R Offline
              R Offline
              RobertSF
              wrote on last edited by
              #7

              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.

              L 2 Replies Last reply
              0
              • R RobertSF

                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.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #8

                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.

                1 Reply Last reply
                0
                • R RobertSF

                  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.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #9

                  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

                  L 1 Reply Last reply
                  0
                  • L Lost User

                    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

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #10

                    So, nearly posted a bug; but I understand I upvoted you already and can't do that twice!

                    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.

                    1 Reply Last reply
                    0
                    • R RobertSF

                      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!

                      B Offline
                      B Offline
                      Bosse62
                      wrote on last edited by
                      #11

                      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!!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups