Closed TheFanatr closed 4 years ago
Just confirming this happened to me in 0.4.0. I never got a Visual Studio crash in 0.3.0, but in 0.4.0 I got the same error, just types <input bind=@ and Visual Studio crashed. Tried again and it crashed again.
This should be fixed in the dev branch
Attempting to set Blazor "bind" Attribute on Element Hangs and Crashes Visual Studio
a brief video showcasing this bug
Explanation
Essentially, in this specific case, in an
<input />
element, typingbind=@
in at the end of the tag will cause Visual Studio 2017 to crash. I have the latest version of both it and the Blazor language services extension, at 15.7.3 and 0.5.0-preview1-10320 respectively.Behaviour Reproduction
The following is the source code needed to reproduce the bug.
TestPage.cshtml
TodoManager.cs
Please ignore any implementation oddities, as project was just made to mess around with Blazor.
Metadata
Event Viewer Logs
The following is what Event Viewer had to say about the issue.
.NET Runtime
Application Error
Installed Extensions List
The following is a list of all the extensions I have installed in my configuration of Visual Studio, in case it applies, but I suspect it will not.
I do have some more data I could upload, but posting download links is shady, so I am avoiding it.
Thanks.