Escape characters in error messages
See original GitHub issueSteps to reproduce
PS C:\Users\\Documents\Visual Studio 2015\Projects\dotnet-scratch> dotnet my-tool
[1m[31mNo executable found matching command "dotnet-my-tool"[39m[22m
Expected behavior
No [39m[22m
like sequences in the error message
Actual behavior
[1m[31mNo executable found matching command "dotnet-my-tool"[39m[22m
Environment data
dotnet --info
output:
dotnet --version
1.0.0-rc2-002426
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Error messages with escape characters - Compiler
When I have a (in this case) function whose name is an escape character (such as \n ) and I use it incorrectly...
Read more >How to clearly state to the User what characters are valid
Use short form of the valid characters like "a-z" not something like "alphanumerical only". It's much easier to oversee and understand the ...
Read more >Escape sequences
An escape sequence contains a backslash (\) symbol followed by one of the escape sequence characters or an octal or hexadecimal number. A...
Read more >Special Characters need to be escaped? What does this ...
This error is suggesting you have an extra closing tag of something. “special characters must be escaped” - < and > are special...
Read more >Error message reads "special characters must be escaped"
Then I get an error message that "special characters must be escaped" and that the a tag must be paired. What am I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Repro Steps
dotnet foo
Output
OK, since it seems the issue has resolved with newer versions, closing. Please reopen if it repros again with latest.