Steps to reproduce:
1. Create new repository: Team Explorer > Home > Projects > Manage Connections > Local Git Repositories > New
2. Publish the repository: Double-click repository > Sync > Publish to GitHub > Publish
3. Remove remote settings: Home > Settings > Repository Settings > Remotes > Remove
4. Force publish error message: Home > Sync > Publish to GitHub > Publish
5. Navigate away from sync page and attempt to connect to github (Home > Project > Manage Connections > GitHub > Create)
Expected result: Publish repository error message should not prevent connecting to github.
Actual result: Aforementioned error causes VS to crash from various points (re-attempting to publish repository, Creating new repository through manage connections, etc)
Steps to reproduce:
1. Create new repository: Team Explorer > Home > Projects > Manage Connections > Local Git Repositories > New
2. Publish the repository: Double-click repository > Sync > Publish to GitHub > Publish
3. Remove remote settings: Home > Settings > Repository Settings > Remotes > Remove
4. Force publish error message: Home > Sync > Publish to GitHub > Publish
5. Navigate away from sync page and attempt to connect to github (Home > Project > Manage Connections > GitHub > Create)
Expected result: Publish repository error message should not prevent connecting to github.
Actual result: Aforementioned error causes VS to crash from various points (re-attempting to publish repository, Creating new repository through manage connections, etc)