Unable to delete team project in Visual Studio Online - visual-studio

I am using VisualStudio.com to manage my team projects which use TFS source control. However, I am unable to delete any of my projects. The steps I have taken so far are:
Log in to my VSO account and click the cog icon to go into admin mode. Click into a projects "Project Security and team membership page". In the permissions sections, set everything, including Delete Team Project to be allow, I saved this.
Next I go into the overview tab and I bring up the context menu for my project. It has two options, "set team as project default" and "delete", both of which are disabled options.

Follow the steps below to delete a project:
Open your VSO account from web portal without any project specified. (https://YourAccount.visualstudio.com/)
Click cog icon to open the Collection Control Panel.
Click "Manage collection security and group membership" link.
Check and make sure you have enough permission to delete a project on "Security" page.
Go to "Overview" page and expand the context menu for the project you'd like to delete.
Click "Delete" to delete the project.

Related

Add New Branch missing from Visual Studio Devops Work Items

We migrated from Jira to Azure Devops for easier integration for our workflow, and have been managing work items assigned to our team from within Visual Studio.
Once connected to our organisation, developers could open the Team Explorer -> Work Items tab and right click an item to create a branch to start the ticket.
This option has now disappeared from all machines, including mine (I'm the organisation global admin on Azure AD).
As seen:
Previously this menu had a "Add Branch" option which is the only way to create a new branch for a ticket without going through a labourious git sync workflow.
Is there a way to configure which options appear on this menu, or get them all back?
Generally reconnecting your Azure DevOps account from Visual Studio will solve the issue.
For example, just open up Visual Studio, connect to DevOps, and clone a project, it opens the folder view. You can then switch to solution view. If you go through that process, you can right-click and have the missing options for work items appear.
Or just reconnect your ADO account, then open a version control solution from Team Explorer or just click "Continue without code".

How do we set credentials on TFS?

I am able to create a Team Project Collection on TFS Server. I am also able to add projects to the same using Visual Studio (I'm using VS 2013 ultimate edition). But how do I create/set login credentials for the projects (I do not want users of one project to try accessing the other projects in the same collection).
By default, only administrators will have access to a team project. You can add team members from the web portal by clicking "Manage" next to "Members", or by clicking on the "Settings" gear in the top right and navigating to the "Security" tab.

TFS 2013 view files and folders in TWA

I'm using Team Foundation Server 2013 which is connected to VS 2013. In the source control explorer, I've mapped folders to projects and it displays all the necessary files in VS so should I be able to view the associated files in TWA under the code tab when I navigate to the correct project? When I say files, I just mean the file name and folders not the actual source code or have I configured it wrong?
Check your Access Level in TWA. If you're defaulting to a Stakeholder then you wouldn't be able to see source code.
Go into the admin page for TWA, click Control Panel in the top left and select the Access Levels tab or navigate to:
http://yourserver:8080/tfs/_admin/_licences
Stakeholder may be the default so add yourself to Basic or Advanced (or set as default) and try again.
Along with setting my access level to advanced, I also checked "add to source control" on new projects and added it to existing projects and finally checked them in.

How can I add a Web User Control to a Visual Studio 2013 Project? Option in menu not available

I'm using Visual Studio 2013 V 12.0.3
I've created a folder inside my project and when I right-click on the folder and select "Add", I'm not seeing "Web User Control" in that menu. Does anyone know how I can get it back? It's typically listed right below "Web Form".
To find any template, simply do the following:
Right-click in the Project where you wish to add -> Add -> New Item
When the Add new Item dialog appears, type "web user control" (or whatever) in the search box in the upper right hand corner
In your case, "web user control" should show you the correct template. As mentioned in the comments, there's only one flavor of web user controls, and that's for web forms.

Visual Studio 2013 Preview: No Publish To File System?

So I've built my project and I want to use the VS2008/2010/2012 "Publish To File System" option in Visual Studio 2013 Preview to push my project to a staging server for testing... but I can't find it anywhere in any of the menus.
It's bad enough that they've randomly rearranged the menu structures and items for TFS, but this change basically makes it impossible for me to recommend 2013 to anyone, much less the CTO, as an upgrade path.
This can be accomplished easily:
Right click on project in Solution Explorer
Click Publish
Under Profile select <New Custom Profile...>
Create profile name (can be anything, dev.domainname.com)
Under Connection > Publish Method > select File System
Enter the Target location \\server\sharedfolder\
The rest of the settings are common as they were in the past.
The next time you go to publish just select the profile and you are done.
With two other people looking over my shoulder and making random suggestions, we finally stumlbed across the answer. It turns out that VS2013 requires you to create a New Profile for each and every publish you make for each and every project in your solution. Hmm. :-\
FYI, running Visual Studio 2013 Update 5 the publish web dialog looks a bit different, screenshot below:
Choose "Custom"
Give the profile a name and hit OK.
Select "File system" as the preferred publishing method...
The first time in to VS 2013 you will not have a "New Profile" option as described by KeyOfJ.
This worked:
Right click on project in Solution Explorer
Click “Publish”. A “Publish Web” dialog box pops up.
Under tab “Profile”, in “Select a publish target”, select “Custom”. A “New Custom Profile” box pops up
Enter a “Profile name” and click “OK”
In tab “Connection” under “Publish Method”, choose “File System”
In tab “Connection” enter a “Target location”. Click “Next”
Under “Settings”, click on “File Publish Options”. Click “Next”
Click “Publish”
Next time you want to publish this project, VS. 2013 will default to the Profile name you just entered, and you will be able to publish in one click.
Can you find Team Explorer? View -> Team Explorer.
Click Commits, and you can see "Publish to Remote Repository". Type in TFS URL or other Git repo to upload your project.
You can create a fake web connection and then reenter data, selecting Local File System.

Resources