How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

Ben Hoffman

I have an existing solution on my desktop. My IT administrator created a project on Visual Studio Team Services for me to connect my solution to. However, I have no found any way that will actually work. So far I have tried to:

First attempt. Result is all of my files have have the locked icon next to them as if they have been check in but there is no way to upload the code. 1. Connect my Team Explorer in Visual Studio 2015 to my online account. 2. Right click on my solution and click Add Solution to source control.

Second attempt. Result, same as first attempt. 1. Go to visualstudio.com and select my project, then select the code tab. Click on clone in Visual Studio. 2. In Visual Studio, open my solution and click Add Solution to source control.

I cannot find a location to enter my clone URL into my solution in Visual Studio. I checked in both Solution Explorer and Team Explorer and there appears to be no option. This is very frustrating because Microsoft gives very little instruction online.

Eddie Chen - MSFT

If you are using TFVC, you need to configure the workspace first after connecting to your team project from Team Explorer and move your solution/project to the workspace folder. And then you can right click on the solution to add it to source control and check in. Refer to this link for details: Add an existing app.

If you are using Git, you can clone the VSTS remote repository to your local machine from Team Explorer and copy your solution into the local Git repository folder, and then commit the changes and push to VSTS. Refer to this link for details: Develop and share your code in Git using Visual Studio. You can also convert the folder of your solution to a local Git repository and then push it to VSTS remote repository via following commands:

git init
git add .
git commit -m 'commitcomment'
git remote add origin <vsts remote repository url>
git push origin master

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How do I add an existing directory tree to a project in Visual Studio?

From Java

How do I add an existing Solution to GitHub from Visual Studio 2013

From Java

Git in Visual Studio - add existing project?

From Dev

Visual Studio: How to create project from existing GitHub repository?

From Dev

Visual Studio: Add existing folder(s) to project

From Dev

How to add new schema to existing Visual Studio Database Project?

From Dev

How to add existing visual studio project to empty git repository

From Dev

How to connect existing Android Studio project to existing Github repository

From Dev

How can I update SSAS Visual Studio project from an existing server?

From Dev

How do I put an existing Visual Studio solution under source control using VisualSVN Server?

From Dev

I have an existing solution in Visual Studio 2013. How do I import it to my VS Online workspace?

From Dev

Visual Studio debugger not runnig existing node project

From Dev

Adding Existing Cordova Project into Visual Studio

From Dev

How do I make a Visual Studio 2015 C++ project compatible with Visual Studio 2010?

From Dev

Roslyn: How to load an existing project outside of Visual Studio

From Dev

How to connect Visual Studio Code to Visual Studio Team Services

From Dev

Visual Studio Team Services/TFS 2015 Project Structure

From Dev

How to connect Visual Studio 2015 to an existing Gitlab project?

From Dev

How do i create a branch in Visual Studio Team Services?

From Dev

Do I need Microsoft account to connect to Visual Studio Team Services?

From Dev

how can i push my existing project in visual studio 2015 to TFS

From Dev

import an existing typescript project into visual studio 2013

From Dev

How to add an existing project to a current solution programmatically in visual studio 2010 using c#

From Dev

How to add new schema to existing Visual Studio Database Project?

From Dev

How to connect Visual Studio Code to Visual Studio Team Services

From Dev

Visual Studio 2015 - How to reference a project from another solution?

From Dev

How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

From Dev

Can I Create a Project from Existing Code in Visual Studio Code

From Dev

How do I build an ASP.NET Core 2 RC2 project in Visual Studio Team Services (VSTS)?

Related Related

  1. 1

    How do I add an existing directory tree to a project in Visual Studio?

  2. 2

    How do I add an existing Solution to GitHub from Visual Studio 2013

  3. 3

    Git in Visual Studio - add existing project?

  4. 4

    Visual Studio: How to create project from existing GitHub repository?

  5. 5

    Visual Studio: Add existing folder(s) to project

  6. 6

    How to add new schema to existing Visual Studio Database Project?

  7. 7

    How to add existing visual studio project to empty git repository

  8. 8

    How to connect existing Android Studio project to existing Github repository

  9. 9

    How can I update SSAS Visual Studio project from an existing server?

  10. 10

    How do I put an existing Visual Studio solution under source control using VisualSVN Server?

  11. 11

    I have an existing solution in Visual Studio 2013. How do I import it to my VS Online workspace?

  12. 12

    Visual Studio debugger not runnig existing node project

  13. 13

    Adding Existing Cordova Project into Visual Studio

  14. 14

    How do I make a Visual Studio 2015 C++ project compatible with Visual Studio 2010?

  15. 15

    Roslyn: How to load an existing project outside of Visual Studio

  16. 16

    How to connect Visual Studio Code to Visual Studio Team Services

  17. 17

    Visual Studio Team Services/TFS 2015 Project Structure

  18. 18

    How to connect Visual Studio 2015 to an existing Gitlab project?

  19. 19

    How do i create a branch in Visual Studio Team Services?

  20. 20

    Do I need Microsoft account to connect to Visual Studio Team Services?

  21. 21

    how can i push my existing project in visual studio 2015 to TFS

  22. 22

    import an existing typescript project into visual studio 2013

  23. 23

    How to add an existing project to a current solution programmatically in visual studio 2010 using c#

  24. 24

    How to add new schema to existing Visual Studio Database Project?

  25. 25

    How to connect Visual Studio Code to Visual Studio Team Services

  26. 26

    Visual Studio 2015 - How to reference a project from another solution?

  27. 27

    How do I connect an existing solution in Visual Studio 2015 to an existing Project in Visual Studio Team Services Project

  28. 28

    Can I Create a Project from Existing Code in Visual Studio Code

  29. 29

    How do I build an ASP.NET Core 2 RC2 project in Visual Studio Team Services (VSTS)?

HotTag

Archive