After upgrading to Visual Studio 17.12.3, code is generating errors in Blazor program targeting .NET 8 that were not present before upgrade. In addition, the errors are not present in Release mode, but when I switch to debug, the errors and warnings appear. Furthermore, switching back to Release mode does not make them disappear. The following are snaps from Release, then debug mode.
Release
Debug
An example of code generating errors:
Another example
The first problem - your using BlazoredTypeAhead. It's basically obsolete. It probably has some edge condition code that the Razor pre-compiler doesn't like. See the info below. The bind code has changed a little since then. I remember having a few issues with my own components.
You either need to pull the repo and do your own fixes, or move to something else.
The second problem - what's the provenance of DataRangePicker
? Probably similar issues to above.
The Github Repo has this information:
The Nuget Package Information is as follows:
So last updated in 2022 and on Net6.