VisualStudio
VisualStudio copied to clipboard
A repository named "Foo already exists for owner "MyGitHubUser" -- but no, it does not
Figure 1. A screenshot of the Create a Git Repository window showing the error message.
Figure 2. A screenshot of a newly generated solution, called
Foo
, where we are clicking the Create Git Repository button in the Git Changes window.
Figure 3. Using the Create a Git Repository window to push to a new remote.
Hello,
Please refer to the error message that I am being shown that is circled in Figure 1. This is an incorrect error message.
When I go to create a new Git repository on GitHub of the same name as one I’ve already created with Visual Studio (and then subsequently deleted from GitHub), and then go to create a new repository on GitHub of the same name, Visual Studio reports the error message that is shown above. However, Visual Studio is incorrectly displaying the error message; it’s a bug. There is no such repository on my GitHub, and I cannot find out how to get the error message to go away.
Restarting Visual Studio does not help. Clearing the cache on my browser does not help. Removing my GitHub account from Visual Studio and then re-adding it does not help. It’s as though there is a system file or Registry setting that tracks all the Git repos created with Visual Studio and it errors if that list contains the repo I am trying to re-create.
Steps to Reproduce
NOTE: These steps will only work on a solution that is, in and of itself, not already a member of a local GIt repository, nor is associated with a remote repository on GitHub. Furthermore, you should start off never having created a GitHub repository with the desired name. We will use Foo
in this example, for the name of our new repository.
- Open Visual Studio.
- Create a new project using any template you choose.
- Wait for the project to be generated.
- Click the View menu, and then click Git Changes.
- The Git Changes tool window appears (the GitHub Extension for Visual Studio has to be installed; this post assumes that that is the case).
- Click the Create Git Repository button, as shown in Figure 2.
- The Create a Git Repository window appears. Click the GitHub icon under Push to a New Remote as shown in Figure 3, and fill out the fields under the Initialize a Local Git Repository section.
- Click Create and Push.
- Visual Studio creates the new repository locally and then pushes it to GitHub.
- Close Visual Studio and delete the newly-created solution from your hard drive.
- In your browser, navigate to
https://github.com
and log in. - Click your profile icon, and then click Your Repositories.
- Search for the
Foo
repository in the list. - Follow these steps to delete the repository from GitHub.
- Open Visual Studio.
- Repeat steps 1-6 above.
- The error in Figure 1 should now be (incorrectly) displayed.
I believe that there is a bug wherein Visual Studio or the GitHub Extension for Visual Studio does not do some checking to make sure that the repository Foo
is still listed for the authenticated user.
Microsoft Visual Studio Enterprise 2019
Version 16.11.26
VisualStudio.16.Release/16.11.26+33529.622
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Enterprise
Architecture Diagrams and Analysis Tools 00433-90000-00004-AA182
Microsoft Architecture Diagrams and Analysis Tools
Visual C++ 2019 00433-90000-00004-AA182
Microsoft Visual C++ 2019
.NET Core Debugging with WSL 1.0
.NET Core Debugging with WSL
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
ASA Service Provider 1.0
ASP.NET and Web Tools 2019 16.11.115.10959
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 16.11.115.10959
For additional information, visit https://www.asp.net/
Attach Toolbar 1.1
Attach Toolbar
Azure App Service Tools v3.0.0 16.11.115.10959
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.6.3000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 16.11.115.10959
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.6.3000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
BruteCleanCommand Extension 1.0
BruteCleanCommand Visual Studio Extension Detailed Info
C# Tools 3.11.0-4.22108.8+d9bef045c4362fbcab27ef35daec4e95c8ff47e1
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
CaseConverter 2.3
This is a simple visual studio extension to convert text between snake_case, camelCase and PascalCase.
Clear MEF Component Cache 1.4
Clears the Visual Studio MEF component cache to fix issues with cache corruption.
CodeMaid 12.0.300
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
Command Extension 1.0
Command Visual Studio Extension Detailed Info
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter 16.11.21196.2
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
DesigniteToolWindow Extension 1.0
DesigniteToolWindow Visual Studio Extension Detailed Info
Dotfuscator Community Edition 6.3.0+8b29d6f4a2
PreEmptive Protection - Dotfuscator CE
Extensibility Essentials 2019 1.1.10
A collection of extensions that makes it much easier to write Visual Studio extensions
Extensibility Logs 1.6
Quickest & easiest way to view extensibility logs!
Extensibility Margin 1.0.9
Shows relevant information about the current file and language to extensibility authors
GitHub.VisualStudio 2.11.106.19330
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Go to Browser 2.6
This is a visual studio 2010 extension, that goes to a web browser on your repository.
Image Manifest Tools 1.0.9
Makes it easier to create and maintain .imagemanifest files for Visual Studio extension
Image Optimizer 4.0.143
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.
Insert Guid 1.3.6
Makes it super easy to insert a new GUID into any editor and input field
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
JetBrains ReSharper 2023.1.2 Build 231.0.20230511.204439
JetBrains ReSharper package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper. Copyright © 2023 JetBrains, Inc.
KnownMonikers Explorer 2019 1.2.42
A tool window for Visual Studio extension authors to explore the KnownMonikers image collection
Markdown Editor 1.12.253
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.
Microsoft Azure HDInsight Azure Node 2.6.3000.0
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.6.3000.0
Language service for Hive query
Microsoft Azure Stream Analytics Language Service 2.6.3000.0
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools for Visual Studio 2.9
Support for Azure Cloud Services projects
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.1.126+g11d4cf0d0c.RR
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.2
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
New Temporary Project 1.0
Adds a `File > New > Temp Project...` command.
Node.js Tools 1.5.30526.3 Commit Hash:c09c81113bcbc86d57943fcdd67e82434263d61d
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 5.11.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
NuGetReferenceSwitcher 1.0
Information about my package
NuProjPackage 1.0
NuGet Package Project System
Office Developer Tools for Visual Studio 16.0.31424.03
Microsoft Office Developer Tools for Visual Studio
Open Command Line 2.4.237
2.4.237
OpenBinFolderPackage Extension 1.0
OpenBinFolderPackage Visual Studio Extension Detailed Info
OpenOnGitHub 2.0.3
Extension for opening files on GitHub, GitLab, Gitea, Bitbucket and AzureDevOps (dev.azure.com, visualstudio.com, tfs)
PDFAndOfficeDocumentsViewer 1.0
View PDF, DOC, DOCX files included in your projects without leaving the Visual Studio IDE.
Pkgdef Language 1.3.88
Full language support with IntelliSense, validation, outlining, and more for .pkgdef and .pkgundef files
PostSharp Tools for Visual Studio 2023.0.4.0
PostSharp is the #1 pattern-aware extension to C# and VB.
Productivity Power Tools 2017/2019 16.0
Installs the individual extensions of Productivity Power Tools 2017/2019
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Python 16.11.21196.2
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Conda support 16.11.21196.2
Conda support for Python projects.
Python - Django support 16.11.21196.2
Provides templates and integration for the Django web framework.
Python - Profiling support 16.11.21196.2
Profiling support for Python projects.
Rapid XAML Analysis 0.13.2
Tools to accelerate XAML app development by providing analysis and code fixes.
Rapid XAML Editor Extras 0.13.2
Tools to accelerate XAML app development by providing additional features to the Visual Studio editor.
Rapid XAML Generation 0.13.2
Tools to accelerate XAML app development by generating XAML.
Rapid XAML Roslyn Analyzers 0.13.0
Roslyn analyzers to help with XAML development.
Rapid XAML Templates 0.13.1.1
Project and item templates to help with XAML development.
Rapid XAML Toolkit 0.13.0
Tools to accelerate XAML app development.
This extension holds references and functionality used by the other Rapid XAML extensions.
Razor (ASP.NET Core) 16.1.0.2122504+13c05c96ea6bdbe550bd88b0bf6cdddf8cde1725
Provides language services for ASP.NET Core Razor.
RemoveProjectsCommand Extension 1.0
RemoveProjectsCommand Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.62205.05200
Microsoft SQL Server Data Tools
SQL Server Reporting Services 15.0.19528.0
Microsoft SQL Server Reporting Services Designers
Version 15.0.19528.0
SQLite & SQL Server Compact Toolbox 4.8
SQLite & SQL Server Compact Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.
StylerPackage Extension 1.0
StylerPackage Visual Stuido Extension Detailed Info
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
ToolWindow1 Extension 1.0
ToolWindow1 Visual Studio Extension Detailed Info
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 16.0.30526.2002
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.11.0-4.22108.8+d9bef045c4362fbcab27ef35daec4e95c8ff47e1
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 16.11.0-beta.21514.6+b6c2c4f53ea3a08fa603ea93d6d2f808a62a21d1
Microsoft Visual F# Tools
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Comparison Tools 1.0
Information about my package
Visual Studio Container Tools Extensions 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
VisualStudio Document Reopen 1.0
Visual Studio Extension to reopen the last closed documents with (CTRL + SHIFT + T)
VS Theme Colors 2019 1.0.9
Makes it easy to browse all the brushes and select the right theme color for your Visual Studio extension UI.
VSIX Synchronizer 1.0.26
Provides the ability to generate code-behind files for .vsixmanfiest and .vsct files in managed code to make the information easy to consume from the rest of the extension.
Windows Template Studio 4.1.21179.1
Windows Template Studio quickly builds a UWP app, using a wizard-based UI to turn your needs into a foundation of Windows 10 patterns and best practices.
WinUI Essentials 1.3
The easiest way to set up Visual Studio for the ultimate WinUI development experience.
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.