You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Note: This is a copy+paste from here, as I discovered this repository after I posted the initial issue report).
Hello world,
Before I describe the issue, I want to be clear that I think this is a problem that Microsoft should be looking at, but per their request, I'm posting the issue here as well.
I also want to post that I do have a workaround, described at the above link as well.
I have a repository that also illustrates the issue here.
Basically, when using the TSQL grammar from here, if generated using Antlr 4.6.6, when using TSQLParser.cs, Visual Studio 2022 Preview 3.1 will crash if the project is targeting .NET 6.
When I generated the same file using Antlr 4.9.2, the project does not crash.
It's also odd to me that the problem does not manifest itself if I target .NET 5 instead of .NET 6, which is why I thought Microsoft should look at it, but well... you can see the response above.
Thanks,
R.
The text was updated successfully, but these errors were encountered:
dynamoRando
changed the title
Visual Studio 2022 Previwe 3.1 Crashes when using Antlr generated C# code
Visual Studio 2022 Preview 3.1 crashes when using Antlr generated C# code
Sep 13, 2021
(Note: This is a copy+paste from here, as I discovered this repository after I posted the initial issue report).
Hello world,
Before I describe the issue, I want to be clear that I think this is a problem that Microsoft should be looking at, but per their request, I'm posting the issue here as well.
I also want to post that I do have a workaround, described at the above link as well.
I have a repository that also illustrates the issue here.
Basically, when using the TSQL grammar from here, if generated using Antlr 4.6.6, when using TSQLParser.cs, Visual Studio 2022 Preview 3.1 will crash if the project is targeting .NET 6.
When I generated the same file using Antlr 4.9.2, the project does not crash.
It's also odd to me that the problem does not manifest itself if I target .NET 5 instead of .NET 6, which is why I thought Microsoft should look at it, but well... you can see the response above.
Thanks,
R.
The text was updated successfully, but these errors were encountered: