Skip to content

Bugfix/issue 160 bug error message appears when visual studio reloads a project in a solution folder#161

Open
lachlan-trmb wants to merge 2 commits intorubicon-oss:masterfrom
lachlan-trmb:bugfix/issue-160-Bug__Error_message_appears_when_visual_studio_reloads_a_project_in_a_solution_folder
Open

Bugfix/issue 160 bug error message appears when visual studio reloads a project in a solution folder#161
lachlan-trmb wants to merge 2 commits intorubicon-oss:masterfrom
lachlan-trmb:bugfix/issue-160-Bug__Error_message_appears_when_visual_studio_reloads_a_project_in_a_solution_folder

Conversation

@lachlan-trmb
Copy link

I identified that in the scenario described in the bug (reloading a project that is inside a solution folder) the file extension can be null leading to an exception when we call extension.EndsWith hence adding the null check on extension. Note: in all cases where GetLanguageFromExtension gets called the caller is handling a null result - this should mean that we don't end up making a bigger issue elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant