'Disable emojis in dotnet watch run
I upgraded to .NET SDK 6.0.300. When running dotnet watch run, the logs show emojis.
How do I disable this behaviour?
Solution 1:[1]
The answer is this environment variable:
DOTNET_WATCH_SUPPRESS_EMOJIS=1
Example: from the shell:
DOTNET_WATCH_SUPPRESS_EMOJIS=1 dotnet watch run
Example: in vscode's tasks.json:
{
"label": "watch",
"type": "process",
"command": "dotnet",
"args": [
"watch",
"run"
],
"options": {
"env": {
"DOTNET_WATCH_SUPPRESS_EMOJIS": "1" // <--------
}
},
"problemMatcher": "$msCompile"
}
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 |
