I've used Azure DevOps TFS for years. I'm trying to tackle switching to Azure DevOps Git. So far...not so good. I'm hoping someone can spot the error of my ways and point me in the right direction. All of this is using Visual Studio 2022.
Step 1: Create a new Project in Azure DevOps called "GitTest"
Step 2: Create a new Umbraco site in Visual Studio called "GitTest"
Step 3: Using Team Explorer in Visual Studio connect to the "GitTest" project in DevOps from Step 1.
As soon as I complete Step 3, my solution explorer is blank.
Here's my Solution Explorer before Step 3:
Here's my Solution Explorer after Step 3:
In case you're wondering here's what my screen for Step 3 looks like:
I can reproduce the same issue. When I connect to Azure DevOps Service without cloning the repo, the Solution Explorer will show blank page.
To solve this issue, you need to set the option: Close open solutions not under Git when opening a repository to No in Git -> Settings -> Git Global Settings.
Then it will keep the solution after connect to Azure DevOps.