- buildOptionsブロックにcopyToOutputを追加
- ディレクトリの場合は、後ろスラッシュ必要
Created
November 8, 2016 12:20
-
-
Save devlights/402b002d7480de90b37bb8392de027a2 to your computer and use it in GitHub Desktop.
dotnet coreでビルド時にコンテンツをコピーする方法 (package.json, buildOptions, copyToOutput)
This file contains hidden or 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": "1.0.0-*", | |
| "buildOptions": { | |
| "debugType": "portable", | |
| "emitEntryPoint": true, | |
| "copyToOutput": [ | |
| "FileName", | |
| "FolderName/" | |
| ] | |
| }, | |
| "dependencies": {}, | |
| "frameworks": { | |
| "netcoreapp1.0": { | |
| "dependencies": { | |
| "Microsoft.NETCore.App": { | |
| "type": "platform", | |
| "version": "1.0.1" | |
| } | |
| }, | |
| "imports": "dnxcore50" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment