-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
System.Text.Encodings.Web nuget package required on server project. #21054
Comments
Hello @rob-github ... I've seen this come up a few times, but I can't repro it, and the posters never say exactly what bit of API in the app is requiring it ...
Can you say what API is requiring it in the app? ... perhaps paste in the method to clarify it so that I can try and repro this again. |
Also, please specify more environment details: Framework version? SDK version? Platform (OS)? ... and which set of specific IDE instructions did you follow ... VS, VS4Mac, VSCode, or CLI? |
This is a bug when users use System.Text.Json 5.0 in a netcoreapp3.1 project. |
Thx @BrennanConroy ... Although Eric gave it a 5.0.x milestone, it's easy for me to surface this to readers in a |
I just had the same problem. I just updated my dependencies and suddenly the system won't run on the server anymore with this error (it runs fine in Visual Studio). Adding |
I had to add System.Text.Encodings.Web nuget package to server project to get this to work.
You might mention that in the tutorial.
Thanks for providing it anyway :)
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: