I\'m looking to convert my project to use project.json
format, but still using the .NET CLR until 3rd party dependencies add support for CoreCLR.
With that
You can use a postbuild
script to achive what you want.
Here's an example: https://github.com/aspnet/dnx/blob/2acce95b3f2ad4e924bc36471ed8f08ee1fccd2b/src/Microsoft.Dnx.Compilation.CSharp.Abstractions/project.json#L21-L28
The current way to do this in .NET Core RTM is setting copyToOutput in project.json
's buildOptions section:
Change your project.json
from this:
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
// more stuff
}
...to this:
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true,
"copyToOutput": { "includeFiles": [ "ClearScriptV8-32.dll", "v8-ia32.dll" ] }
},
// more stuff
}