Last active
August 31, 2017 07:26
-
-
Save masaru-b-cl/6d7fab260dbc409f961e889016503ecd to your computer and use it in GitHub Desktop.
Visual Studio Codeタスクのdotnetコマンド出力を文字化けしないようにする ref: http://qiita.com/masaru_b_cl/items/705b75d256b11cb82feb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.1.0", | |
"command": "dotnet", | |
"isShellCommand": true, | |
"args": [], | |
"windows": { // Windows固有の設定 | |
"command": "cmd", // cmd.exeを実行 | |
"args": [ "/C", "chcp 65001 && dotnet"] // /Cオプションで第二引数のコマンドを実行 | |
}, // chcp 65001 の後に && で続けてdotnetを実行するよう指定 | |
"tasks": [ | |
{ | |
"taskName": "build", | |
"args": [ | |
], | |
"isBuildCommand": true, | |
"problemMatcher": "$msCompile" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment