LoginSignup
0
1

More than 5 years have passed since last update.

dotnet core でexeファイルを作成

Last updated at Posted at 2016-11-17
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ができた。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1