
close
close
In today’s Ask the Admin, I will show you how to add support for folder management in Visual Studio Team Services (VSTS).
advertisment
For those of you that have been following my Infrastructure-as-Code articles, including What Is Visual Studio Team Services? and Deploy an Azure Application Using Visual Studio Team Services on Petri, here is a tip to help you manage files. If you have uploaded files to a project, you might have noticed that it is not possible to upload or create folders. You can clone, check out a repository to your PC, create a folder, make any necessary changes, and then commit it back to VSTS but that is a bit of a pain.
Git is the default version control used for new projects in VSTS. Git does not retain empty folders without files, so there is not an option to create new folders by default in VSTS. There is a handy add-on that adds this functionality.
advertisment
The first step is to install the Folder Management add-on from the Visual Studio Marketplace.
Install the Folder Management Add-on for Visual Studio Team Services (Image Credit: Russell Smith)
Install the Folder Management Add-on for Visual Studio Team Services (Image Credit: Russell Smith)
Note that if you do not have administrative permissions to VSTS, you will have to wait for an administrator to approve the install request.
advertisment
Let’s create a new folder in a VSTS repository:
Create a New Folder in Visual Studio Team Services (Image Credit: Russell Smith)
If you click the folder in the left pane, you will notice on the right that the folder already contains a file. Once you add files to your new folder, you can safely remove the placeholder file.
In this article, I showed you how to create new folders in VSTS.
More in Cloud Computing
AWS DataSync Now Integrates With Google Cloud Storage and Microsoft Azure
Jun 15, 2022 | Michael Otey
Build 2022: Microsoft Introduces New Dev Box Cloud PC Service for Developers
May 24, 2022 | Rabia Noureen
Most popular on petri