FAQ Database Discussion Community


Allowing all users to create a repo in TFS-GIT

git,tfs,visual-studio-online
I have set up a TFS project in VSO using git for source control. Is there a way I can give all members of that project the ability to create a git repository? The only way I see is to make everyone an administrator, but I don't necessarily want them...

Migrate from German TFS to VSO

visual-studio-online,tfs2013,opshub
We're running a German TFS 2013.4 on premise and want to move to Visual Studio Online. The OpsHub migration tool stops with a template mismatch. I ran the TeamProjectManager tool (https://teamprojectmanager.codeplex.com/) and compared our template to the VSO template. The fields are there, but their names are different, one is...

OpsHub TFS To Visual Studio Online Migration Utility - TFS_Temp folder

tfs,visual-studio-online,opshub
I'm very frustrated by the slowness of the OpsHub migration utility. I've even moved our TFS infrastructure to Azure just so that I could pump things through faster, but the gains are minor. One of the things I noticed was that the TFS_Temp folder (C:\Program Files\OpsHub Visual Studio Online Migration...

Visual Studio Online: How to create a build definition with MVC Unit Testing that accesses a remote server?

sql-server,unit-testing,azure,visual-studio-online,tfs2013
I am currently using: Visual Studio 2013 for development Visual Studio Online for builds/testing MS Build An Azure VM to house an MVC web app and SQL database The current project is an N-tier MVC application with an MVC Test project. The application runs on the Azure VM (in the...

TF10175: The My Project team project does not exist

visual-studio-2013,tfs,visual-studio-online,tfs2013
I deleted a Team Project from Visual Studio Online. We were using the repository in source control with Visual Studio 2013. Since deleting it, everytime I load up Visual Studio, I get the following message in general ouput: The server returned the following error: The project with id '{myid}' does...

Build Definition: Copying the build output to the server?

azure,tfs,tfs2012,visual-studio-online
When configuration the build definition, I have the option of copying the build output to the server: We are using the VSO Host Build Controller and Azure's Continuous Integration build template to release to our development environment after every check-in. Is there any reason why we need to have this...

VSO: Single project with a tiered area structure?

tfs,tfs2010,tfs2012,visual-studio-online,tfs2013
Historically we have always had separate VSO Projects for each logical project undergoing development. This is particularly important as we need to have separate backlogs for each project. Each project has its own Product Owner. We have a team of around 10 developers who work between these projects over 2...

Move local VS project GIT to Team visual studio on-line project GIT

git,visual-studio-2013,visual-studio-online
I have a solution in VS 2013. I've set GIT as the source control and have a local repository. I would also like to have one that I can commit changes to that resides at my visual studio on-line account. Sounds fairly straight forward, but in 4 hours I've learned...

using both TFS online and Codeplex for repository

tfs,open-source,visual-studio-online,codeplex
I started a utilities project in TFS online where you could have multiple developers on a project, but ended up not needing the extra developers, but still liked the TFS online interfaces. I wanted to be able to share some of the projects I do to people that read my...

TF30063: You are not authorized to access - Visual Studio Online

visual-studio-2013,tfs,build-process,visual-studio-online
While trying to configure Build Controller/Test Controller and Build Agent/Test Agent there is a problem to connect to VSO. It is however possible to connect to VSO via Web Portal without any issue. The problem occurs while configuring Build and Test environment. Notice that the permission is not the issue...

TFS Online build server post build scripts not available

tfs,tfsbuild,visual-studio-online
According to this link, there is an option to add powershell scripts to the build via a post build script path property. To invoke our script for front-end build tasks (clientcompile.bat), we need to configure the build process. Open the ‘Process’ tab and expand section ‘5. Advanced’ inside the Build...

Team Foundation Online: Source Control - Making Specified Changeset Active

visual-studio-online,visual-studio-2015
The issue that I am experiencing is that when I want to have specified Changeset active, file structure doesn't match with that Changeset. Example: In Changeset 146 I had some files. I want to go back on Changeset 142. That Changeset didn't have those files at the time. In...

Visual studio Online : how to Strcuture

visual-studio-online
I have a common DataAccess Class Library Project. This project needs to be Referenced in multiple Visual Studio Solution. Currently we are Referencing this DA Library via Folder created in each project called binary. so whenever there is a change in DataAccess Library project, we have Manually update all the...

VisualStudioOnline NuGet Restore now built in?

msbuild,nuget,visual-studio-online,tfs2013,nuget-package-restore
Is the Host Controller on Visual Studio Online now automatically restoring NuGet package before calling MSBuild? Previously I had to manually execute the following: nuget.exe restore MySolution.sln Now, when creating a new build in a new project, I noticed that I didn't need to do this. When looking at the...

Avoid check-ins on a closed workitem in TFS

tfs,tfs2012,visual-studio-online,checkin
id like to add a checkin policy to my solution. i dont want any developer to check-in on a closed workitem. is it possible to define a check-in policy that says checkin can only be made on a workitem on "state different than closed"? Thank you....

Branching Refresh in Visual Studio in TFS Online using Git

git,visual-studio-2013,visual-studio-online,tfs2013
I am using Visual Studio online as my source repository and have chosen git for source control. I have created a new branch named as "Branch1" and published it in the server. I want the fellow developer to get this branch in his visual studio and work with this. But...

What are Epics in regard of Features and Backlog Items in Team Foundation

tfs,agile,visual-studio-online,scrum
From this link I assert that a Feature is a set of Backlog items, but what is an Epic supposed to be ?

Azure hosted On-prem build controller + VSO: Error TF400106: Failed to register the build service (Exception Message: Could not find service)

azure,tfs,visual-studio-online,tfs2013,build-controller
I'm currently installing a TFS2013 SP4 build controller to run automated builds of my Visual Studio Online repository. The readiness check is OK, but during the configuration I get an error and the following description: "TF400106: Failed to register the build service" In the log file I get the following...

Synced a Git branch in Visual Studio; where did it go?

git,visual-studio-2013,visual-studio-online
I just synched a Git repository that I am developing in Visual Studio. The sync ran without error and indicates that there are no outgoing commits. Problem is, I have no idea what it synched with. The code didn't go to my Github profile nor my Visual Studio Online profile....

The item $//Drops may not be cloaked because it does not have a mapped parent. (type WorkingFolderException)

continuous-integration,tfsbuild,visual-studio-online
I am trying to set up Continuous Integration on Visual Studio Online, but I am getting a strange error: Exception Message: The item $/<mycollection>/Drops may not be cloaked because it does not have a mapped parent. (type WorkingFolderException) My configuration of the build item is this: The 'Build defaults' step...

How can I change the “connect to team server as” user in TFS 2013 server?

tfs,tfsbuild,visual-studio-online,tfs2013,team-build
In Team Foundation Server 2013 I cannot seem to change "connect to team server as" user. TFS server is pointing to our Visual Studio Online https://ourtfs.visualstudio.com/defaultcollection and the the account that the TFS server is using to checkout code is also "Account Service (ourtfs)" even though there is no such...

Visual Studio Online, sharing work items, using both Git & TFVC

git,tfs,visual-studio-online
I use Visual Studio Online for all of my source control. My API is done in Visual Studio .NET land and uses a TFVC repo. My client work is done in another IDE (intellij) and uses VSO's Git repo. This works beautiful, save one issue. I rely on VSO's work...

How to disable visualstudio.com stored project's multiple check-out default effect all users?

checkout,visual-studio-online
Im doing this from workspace manual for all my project. And my colleague making same. Cant i set defaul somewhere when i'm creating project? or from .visualstudio.com ? Thanks

Could not copy. The process cannot access the file because it is being used by another process

tfs,msbuild,tfs2012,visual-studio-online,tfs2013
I am getting the following error when running my build on Visual Studio Online (using the built-in Build Controller): C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (3962): Could not copy "d:\a\src\MySolution\MyProject\Trunk\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.xml" to "..\Build\bin\Release\Microsoft.Data.Edm.xml". Beginning retry 1 in 1000ms. The process cannot access the file '..\Build\bin\Release\Microsoft.Data.Edm.xml' because it is being used by another process. It...

Extra sprint backlog columns in Visual Studio Online

tfs,visual-studio-online,scrum
I have two project setup, both using the Scrum template. In one of them the sprint backlog board shows swim lanes/columns as I would expect: To Do In Progress Done In my other project (the one that matters, of course), it looks as if the columns from the Backlog Items...

How to increase Work In Progress (WIP) limit

tfs,visual-studio-online,tfs2013,scrum
In the product backlog items board, there's this WIP display 5/5 for approved PBI and 2/5 for commited PBI How can I increase the WIP limit of 5?...

Visual Studio Online Continuous Integration Build fails unexpectedly

azure,visual-studio-2013,continuous-integration,visual-studio-online
I've been using Visual Studio Online's Gated check-in to build and deploy my web API app to an Azure Website for a while now. Yesterday I added a few features to my app, and triggered a build after check-in, and it failed with the following response. Exception Message: Value cannot...

Visual Studio Online: No Reports on Team Server possible?

excel,visual-studio-2013,tfs,visual-studio-online,tfs2013
I have a Visual Studio Online Professional Licence I'm using the Team Server (of the online edition, i.e. in the "cloud"). In Excel 2013, I have the the "Team" Add-in; using this, I can connect to the Server, and I can retrieve basic lists. However, when I try the...

C# 6.0 TFS Builds

tfs,visual-studio-online,roslyn,visual-studio-2015,c#-6.0
I'm trialing the new features of C# 6.0 within Visual Studio 2015 CTP and my project is failing to build in TFS 2013 and Visual Studio Online. I understand that Visual Studio uses the new Roslyn compiler, which replaces the native .NET one, and the TFS build agent therefore is...

AzureContinuousDeployment.11.xaml vs TfvcContinuousDeploymentTemplate.12.xaml

azure,msbuild,tfsbuild,azure-web-roles,visual-studio-online
I can't seem to find any information regarding the difference between these two build definition templates: AzureContinuousDeployment.11.xaml TfvcContinuousDeploymentTemplate.12.xaml My guess is that AzureContinuousDeployment has been replaced by TfvcContinuousDeploymentTemplate. Does this mean I should not use AzureContinuousDeployment? I want to use it because here I am able to set the storage...

VSO and multiple projects for a single product team

tfs,agile,visual-studio-online,tfs2013,scrum
We have a team of around 10 developers working on a new product. We have split this product into two team projects on Visual Studio Online. Developers can work on both projects during any one sprint. Although we have two team projects, the entire team works together as one agile...

Visual Studio Azure build definition: what exactly is a 'Webspace'?

azure,visual-studio-online
I'm trying to setup a solution in Visual Studio Online to deploy to an Azure website. I've configured the website in Azure, downloaded the subscription file, and I'm now trying to figure out how to configure the build definition. Most of this screen seems straightforward, but in section 6 (Deployment->Windows...

Connect Deployment Agent to Visual Studio Online if not part of domain

.net,visual-studio-online,release-management,azure-virtual-machine,ms-release-management
I'm installing the Microsoft Deployment Agent 2013 onto an Azure VM. In order to connect to my Release Management Server ( Visual Studio Online in my case ) I need to authenticate either as local system or with a custom account: So with my credentials - I am validated to...

Is there a non-REST version control API to Visual Studio Online?

version-control,visual-studio-online
I'm looking at whether we can migrate our old on-premises TFS 2010 server to Visual Studio Online. We all have MSDN subscriptions so it looks promising. But we have an app we wrote to keep our SQL scripts in version control. The app uses the old Microsoft.TeamFoundation.Client & Microsoft.TeamFoundation.VersionControl.Client object...

Visualstudio.com: Identity not verified

security,ssl,encryption,cryptography,visual-studio-online
Why when visiting our account on https://oursite.visualstudio.com does Chrome complain about the website's identity? ...

VSO - 2 factor authentication

visual-studio-online
Can I setup 2 factor authentication for users using LiveID? It seems like only Azure Active Directory is possible and just wondering if I've missed out anything. Thanks....

Visual Studio Online when someone leaves the company

visual-studio,azure,tfs,visual-studio-online
We've transitioning from Rackspace dedicated boxes to a completely cloud Azure environment. Production servers and development and as an MS shop we're going to be using Visual Studio Online. As an MS ISV partner we have a bunch of MSDN seats so our developers are all going to have an...

Visual Studio Online TFS refuses to “source control” filenames starting with $

visual-studio-2012,tfs,visual-studio-online,visual-sourcesafe
A bit of Background: I've migrated 3 old projects on a Win2003server to a Win2008R2 server (saying goodbye to IIS 6, VS2008, and Visual SourceSafe!). This Visual Studio 2012 solution with the 3 projects compiles and runs OK but I need to make some minor changes. Before I do much...

Jenkins does not find my git repository in Visual Studio Online

git,jenkins,visual-studio-online
I have a Visual Studio Online project working with Git. Everything works fine from inside Visual Studio. I'm trying then to configure a Jenkins job that gets the code from this project, but without success. Although the URL and the credentials are correct, Jenkins gives me this error on the...

How to create Multiple Project Collection in Visual Studio Online?

visual-studio-online
I am trying to figure out how can one create multiple Project collections in visual Studio Online. If that is not possible, If i create multiple accounts, can use the same MSDN subscriber across those project collection ? Any links to document on how to achieve this is helpful....

OpsHub: ERROR Object reference not set to an instance of an object

tfs,visual-studio-online,opshub
We're checking into the option of moving to Visual Studio Online from our on premises TFS. Running the migration tool, it shows this error during validation: ERROR Object reference not set to an instance of an object. I'm trying to migrate to a new setup on Visual Studio Online from...

VS Online Build - Publish to local NuGet feed

nuget,build-process,visual-studio-online
I'm trying to migrate from running Team Foundation Server locally to VS Online. I need to set up a build that will publish a nuget package to our local feed. Is this possible? I assume I need to set up VPN or something. I'm not even sure where to start....

InstallShield broke TFS Build

visual-studio-2013,tfs,tfsbuild,visual-studio-online
I am getting this error when using VisualStudio.com to build my solution: C:\a\src\...\Setup\Setup.isproj (30): The imported project "C:\Program Files (x86)\MSBuild\InstallShield\2013Limited\InstallShield.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. One of the projects in my solution is an InstallShield...

How do VSOnline Automated Test Runs/Builds Differ From Local?

unit-testing,msbuild,visual-studio-online
I have unit tests that looks up a configuration file in a particular folder by determining the project path: /// <summary> /// Gets the project path of the given type. /// </summary> /// <param name="type"></param> /// <returns></returns> public static string GetProjectPath(Type type) { var dll = new FileInfo(type.Assembly.Location); if (dll.Directory...

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

visual-studio-2013,visual-studio-online
I recently upgraded to VS Community 2013 and created my Visual Studio Online account. I have connected VS to the account but I don't know how to import my local solution (which contains 5 projects) to the VS Online account....

Two-step verification for microsoft company account?

azure,office365,visual-studio-online,windows-live
I have a MS company account using Office 365 (so [email protected] is my account), and I use Office, Azure, and VS Online. However, I cannot find anywhere how to enable 2FA for this account. I can set up 2FA for my normal, personal, windows live Id using this page: http://windows.microsoft.com/en-US/windows/two-step-verification-faq....

Change Visual Studio Online team project source control from TFVC to Git

git,tfs,visual-studio-online
We have a project set up with a product backlog in Visual Studio Online. However, I now find that in TFS TFVC has been configured as the source control provider rather than Git, which we will be using. Does anyone know if it is possible to change from TFVC to...

Where i can find user login and password on visual studio online page?

git,visual-studio-online
I try to find username (and password) of my project on [visualstudioonline.com] so, I try to push my repo into my project,but I cannot find login at least. What is the login? my Microsoft live ID? or anything else? Thank you! P.S. I have git string for commit to project...

Get GIT repo ID by commit ID with Visual Studio Online

git,tfs,visual-studio-online
Is it possible in Visual Studio Online with GIT to get info about the repository the commit is in ? With the Visual Studio Online REST API I can get info about a certain commit, but I always need to know which repository it is in. https://myCompany.visualstudio.com/DefaultCollection/ _apis/git/repositories/{REPO-ID}/commits/{COMMIT-ID}?api-version=1.0 Is there...

Error during deployment to azure from visual studio online

azure,tfs,visual-studio-online
I'm getting this weird error when trying to deploy to azure from visual studio online: Exception Message: Could not find a part of the path 'd:\a\src'. (type DirectoryNotFoundException) Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean...

Getting git items for a particular branch/tag via TFS rest api

tfs,visual-studio-online,tfs2015
Now that TFS 2015 comes with the same new Rest API of VS online, I've taken a look at the API doc: https://www.visualstudio.com/en-us/integrate/api/git/overview One question naturally raised is that most queries do not expose an parameter for git branch or tag (e.g. download /path/to/my/file with tag 'release_v1.0'), which looks like...

Team Foundation Server script error in vs2012

visual-studio-2012,tfs,visual-studio-online
i can't Go Online my project for checkin it's show error like this picture. How to solve it's?...

Iterations with multiple releases in TFS

tfs,visual-studio-online,release-management
How should releases and iterations be structured in TFS (specifically Visual Studio Online) where some of the work in an iteration counts towards one release while the rest of the work counts towards another release? Some background: I'm working with a single team that has 2 code branches: the 1st...

Get sprint capacity through Visual Studio Online Rest API

tfs,visual-studio-online
I'm actively using Visual Studio REST API and I would like to calculate what is the total capacity that each team member has defined for a given sprint. I've checked the classification node API but the only specific information returned for an iteration is name and start and end date....

how to create sub task in Visual Studio Online API

visual-studio-2010,visual-studio-online,vso-rest-api
I'm trying to create a sub-task of a User Story, in Visual Studio Online, from my Mob App. How can I make it the right way? Whether I should use query or is there any direct endpoint for adding a subtask...?

Adding users to Visual Studio Online so they are on all projects

git,tfs,visual-studio-online
I am trying to get Visual Studio Online to work so that when i create a new project, the same group of users are automatically able to access and contribute to the project. No matter what I change to the Default Collection, nothing is inherited. Is this even possible, and...

Get Latest Version using command-line from VSO?

visual-studio,tfs,visual-studio-online
I am looking for a simple way to get the latest version of source code from Visual Studio Online through automation (usually command line). I cannot seem to authenticate to VSO with the credentials I use to logon to the website with the TF or TEE command line. I have...

Why choose VSO over IaaS TFS 2013/15

git,tfs,visual-studio-online
I've been pouring over the Microsoft information and I'm finding it difficult to determine if there is any reason to support using On-Premise TFS 2015 or Infrastructure as a Service TFS 2015 instead of Visual Studio Online. I can see that VSO is patched regularly. More frequently than our in-house...

Visual Studio and Release Manager

visual-studio-online,release-management,ms-release-management
I have been playing around with Visual Studio and Microsoft Release Manager. I have found a couple of behaviors I wasn't expecting and I was hoping someone might be able to confirm these (in case I'm getting the wrong end of the stick). My goal is to: Host my code...

Does VS Online support building ASP.NET 5?

visual-studio-online,asp.net-5
I set up a build definition in VS Online for an ASP.NET 5 project and tried to get it automatically built and deployed to an Azure Website. But I'm seeing a build failure thrown by MSBuild as below. C:\a\src\src\WebApp1\WebApp1.kproj(7,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AspNet\Microsoft.Web.AspNet.Props" was not found....