project.json
"frameworks": {
"netcoreapp1.1": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "default", # defaultに変更
"version": "1.1.0"
}
},
"imports": "dnxcore50"
}
},
"runtimes": {
"win10-x64":{} # buildするプラットフォームを追加
}
dotnet restore
targetを指定して、build
dotnet build -r win10-x64 -c Release
できあがり。
これでいいのかわからないけどとりあえず.exeができた。