-
Notifications
You must be signed in to change notification settings - Fork 4k
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
CSharpMatchFolderAndNamespaceDiagnosticAnalyzer throws exception #51602
Comments
Looks like a bug in PathUtilities.GetRelativePath. That function should never throw an index out of range. |
Have 20 of these errors since upgrading
|
Doesn't looks like the method has changed in 4 years, so is a bit odd. |
The issue is with the following inputs: |
I get 594 of these errors when opening dotnet/aspnetcore/Servers/Kestrel |
I'm getting this error on Microsoft Visual Studio Enterprise 2022 Preview (64-bit), how do apply the fix? |
@gakera the fix will be coming in Preview 2 for VS 2022 |
For what it's worth, I am getting internal errors like this in preview 4.1
edit: why did i specify 'cs' for md? Finally, this may be a different issue to the original one, but here's all the info I have for it, do with it as you please. |
@george-tsiros that is about a different analyzer. Please open a new issue for that. |
installed .NET 6 preview SDK
Opened default console app in VS 2019.10 Preview 1
The text was updated successfully, but these errors were encountered: