Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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