All Questions
189 questions
0
votes
3
answers
124
views
Prevent developer from code commit if there is error in project build in Visual Studio
Few of my team members sometimes commit code without building project/solution which gives error to other team members when they get latest and build project.
Example:-
Error in code
Still commit ...
0
votes
1
answer
207
views
How to push changes from or Azure Devops to another company?
I have a repository on our Azure DevOps and using Visual Studio 2022 I am able to create branches and do all other tasks before it is merged with the main branch.
I would like to push our main branch ...
0
votes
1
answer
249
views
Git Fetch command not fetching latest changes from Azure DevOps repo
I'm trying to fetch the latest changes from origin/main to local main. The output window shows:
Fetching from MyRepo
git: 'credential-manager-core' is not a git command. See 'git --help'.
I then ...
0
votes
1
answer
71
views
DevOps git retains checked in data when switching branch in VS 2022
What's happening is I'm working on a branch and check in the changes, then switch to the master. Git tab shows all the files that I had just checked in on the other branch...
If I pull the master it ...
0
votes
1
answer
71
views
How to execute ChangeLog Class when user presses commit and push in Visual Studio Git Changes
I created a class that will grab the latest commit changes with messages using Azure DevOps API. The only part that I am stuck at is that if there is a way that when a user presses Commit and Push or ...
5
votes
2
answers
12k
views
Azure DevOps Resolve Merge conflict of Pull Request in Visual Studio
The Azure DevOps 'Pull Request Merge Conflict Extension' is missing a great feature that the visual studio conflict resolver does have. That is, being able to select specific sections easily. This ...
0
votes
1
answer
104
views
Getting error while deploying my dacpac file to Azure DevOps generated from Visual Studio for Azure SQL database
I'm creating a .dacpac for my DEV Azure SQL database in Visual Studio so that I can promote changes to PROD env with the help of build and release pipelines in Azure DevOps.
I'm getting error ...
0
votes
1
answer
148
views
Why does Azure Repos sometimes shows my check-in(s) as Author = '--get.all'?
Azure sometimes shows my check-in(s) as Author = '--get.all' as apposed to my name.
From Visual Studio > make changes to a branch > commit changes > Open VS's Git Repo > sync button (pull &...
0
votes
1
answer
94
views
Visual Studio automatically excluding added files from Git for externally referenced project
I have a solution. The solution has five projects. Four of the projects are local to the solution. One of the projects was created as part of another solution so that it can be referenced by multiple ...
-1
votes
1
answer
340
views
How to force everyone on git commit from Visual Studio 2022 to specify work item?
People committing code to ADO GIT from Visual Studio without specifying related ADO work item. Similar to Can Visual Studio require a work item be linked to a git commit? - but we are using GIT in ADO....
1
vote
0
answers
200
views
Option to push, publish and sync greyed out in Visual Studio, works in command line
I have recently installed Visual Studio on a new machine. It is Visual Studio Professional edition, version 17.7.5 which I think is the latest. I am able to connect to all my repositories but I have ...
0
votes
0
answers
29
views
Is it possible to add a local .git folder to a TFVC project, but still use TFVC in Visual Studio?
I have a project that is managed in TFVC. I would like to use git locally via git bash. I don't care about syncing the git repository anywhere for now, however, I still want to keep the connection to ...
-2
votes
2
answers
62
views
How to search for a term currently in code AND added within the last 6 months?
I want to search source control for files with a specific term and with these conditions:
It has to be in the latest version of the code in the branch I'm searching. So an instance that was added 3 ...
0
votes
0
answers
1k
views
Git pull and Sync Buttons are disabled in Visual studio and we are using Azure repo
Git pull and Sync Buttons are disabled in Visual studio and we are using Azure repo.
I have taken Clone from Azure repo into visual studio and i did changes in code, Bymistake I deleted Add remote in ...
1
vote
0
answers
921
views
Visual Studio Source Control Plugin Problem
I am using VS 2019 version 16.4.3 for customer projects.
There are two solutions with different source control systems. One of them uses git and the other uses TFS.
I am getting this warning message ...