'error in publish blazor-wams version.net5 after install visual studio 2022
I'm having a weird issue with publishing my Blazor WASM version .net5 project to IIS Service after I install my Visual Studio 2022
In Console Write This Error : Unhandled exception rendering component: The provided expression contains a PropertyExpression which is not supported. FieldIdentifier only supports simple member accessors (fields, properties) of an object. System.ArgumentException: The provided expression contains a PropertyExpression which is not supported. FieldIdentifier only supports simple member accessors (fields, properties) of an object.
Solution 1:[1]
I got the same error in the same conditions. Is someone have been able to find a solution?
I have to publish from an old station which is the only one that have not been upgraded to VS 2022.
This is crazy.. they have not made any regression testing to be sure that we can publish a .net 5 app from a VS 2022?
I have 2 hosting IIS that got this error when I publish. On one of my hosting company this is OK though. Very weird.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jean Poulin |
