-
Notifications
You must be signed in to change notification settings - Fork 208
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
net5.0 project has no color on console output with dotnet watch run #229
Comments
Thanks! This appears to be an instance of dotnet/aspnetcore#25317 |
Thanks for the link @nblumhardt! Changed my |
Thanks @jmalatia - that fix worked for me too |
So this solution did not work for me, but was worked was to set
Or in appsettings.json:
Read the configuration:
|
After upgrading a project to net5.0 (5.0.1), Serilog console output colors stopped working.
After playing around for while I experienced:
dotnet watch run --environment "Development"
no color (this is our normal usage in our development flow and colors always showed in netcore2.2, netcore3.1 apps)dotnet run --environment "Development"
everything is in color as expectedSetup:
appsettings.json
program.cs
startup.cs
Tried using
Serilog.AspNetCore 3.4.0
andSerilog.AspNetCore 3.4.1-dev-00188
The text was updated successfully, but these errors were encountered: