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

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

If users have Server Workspaces you can configure this via Team Explorer. If you connect to a Team Project and click Settings, then Version Control you should see the options that you are looking for.
This setting affects all users of that team project. You will need to set it for each new team project.

Related

Azure DevOps doesn't allow me to change the security settings from web console

I want to change the security settings of my repository project by selecting More options > Security in Azure DevOps web console / browser. But when I do so, I get the below error:
Your administrator has disabled web editing for this repository. You cannot add, delete, rename, or edit files via the web.
I am an administrator myself and not sure what setting I should change and where in Azure DevOps, given that it has varying levels of permissions and that the error message above is more cryptic that I don't see a setting that matches it anywhere.
Note: I am also admin of an external group where access permissions are restricted to many of the projects in this repository. Not sure if this deny is over-riding my permissions and how to go about solving the issue if this is the case.
I really would appreciate your help in fixing this issue
Your administrator has disabled web editing for this repository. You cannot add, delete, rename, or edit files via the web.
As far as I know, this issue should appear in the TFVC repo.
To solve this issue, you need to navigate to Project Settings -> Repositories -> TFVC Repo -> Settings and enable the Web editing option.

Can we configure the Eclipse TFS plugin to require a work item on check in?

When we check in a file, we would like to have the plugin not allow check-in unless a work order(s) has been specified. I've looked for that before but haven't found a way. I'm looking in Preferences > Team > Team Foundation Server and don't see anything there.
It's supposed you are using Team Explorer Everywhere. What you are looking for is check-in policy. You need to add Work Item Policy if you want to require that one or more work items is associated with each changeset.
Check following link for more details:
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/gg475890(v=vs.100)

How to allow a user to access only specific projects in my solution

I'm using VSTS on Visualstudio.com to host our Solution. I have one solution with multiple Visual Studio projects, all hosted in a Team Project inside TFS. Now I'll have some one to help me with development, but I don't want him to have access to all the Visual Studio projects, only some of them. How can I give him access to some of the Visual Studio projects while denying access to the other ones?
If you are using TFVC as source control, you can refer to these steps below:
Add the user to your VSTS
Go to the admin page of that team project
Select Security tab
Click Create group to create a new group (e.g. CodeGroup)
Set View project-level information to Allow in Permissions tab
Add the corresponding user to that group in Members tab
Click Version Control tab
Select the folder of the project (one of the project in your solution folder)
Click Add to add CodeGroup (step4)
Set Read and Check in permissions to Allow
If you are using Git as source control, you can’t set the security for an item (project in a solution) in the repository.
On the other hand, If there are some project references that the user can’t access, I recommend that you can package and push the assembly to the feed of your VSTS: Package Management in Team Services and TFS

TFS Users Incorrect

I have just started working with a company that uses VS Team Services. They set me up with a user account and then pulled the code base to my local PC. Whenever I go to check-out/check-in a file, the username that appears is that of the administrator, not me. I'm not at all familiar with team services because I used git previously. I tried removing the existing workspace and then re-created it, making sure VS showed my username on the team connection settings, but this didn't change anything. I'm using VS 2010 currently.
Here are some screenshots
Checkout not me
And
TFS Connection showing me
First, make sure your personal account has been added to the team project you are working on. Check Add users to a team project.
Then, go to Team Explorer as the screenshot below, click Manage Connections or Select Team Projects (depends on the VS version), select the VSTS you are using, and click Switch User to use your own account:

Can we set NuGet URLs with domain policy

NuGet is just great addition for Visual Studio. And it also allows for custom NuGet repositories as long as you provide custom URLs to them.
For company-related projects we can have own NuGet repositories serving whatever libraries are needed for internal projects. The main problem is that each developer has to configure this manually within Visual Studio.
Question
Is it possible to set these URLs by domain security policy settings? This would be great, because every new team member that would install Visual Studio would automatically get these URLs and gettig project source code could automatically load related libraries (with the new NuGet feature that loads missing ones on build).
So #Haacked and Steve Sanderson... Is this possible?
NuGet 2.1 introduced hierarchical configuration settings for NuGet. This allows you to specify things like additional repositories at a project/solution level rather than having to have everyone receive the settings through a group policy.
Release notes: http://docs.nuget.org/docs/release-notes/nuget-2.1
By setting a NuGet repository at the solution level, everyone working on the solution will get the additional repository added to their package sources.
That is not yet possible. I'm pretty sure there's a feature request already for this in http://nuget.codeplex.com/. I recommend finding that feature and commenting on it. If you can't find it, start a discussion. :)