How to compile a Release configuration for Ubuntu console app .NET Core RC2 -
for example, hwapp sample builds debug not release:
$ dotnet new … $ dotnet restore … $ dotnet build … $ dotnet ./bin/debug/netcoreapp1.0/hwapp.dll hello world!
what have add project.json optimized build?
{ "version": "1.0.0-*", "buildoptions": { "emitentrypoint": true }, "dependencies": { "microsoft.netcore.app": { "type": "platform", "version": "1.0.0-rc2-3002702" } }, "frameworks": { "netcoreapp1.0": { "imports": "dnxcore50" } } }
my original question may have conflated 2 difference issues - how build release instead of debug? how build .net native?
i've stumbled on an answer first question:
$ dotnet build -c release
that seems provide obvious performance improvement.
according this native compilation has been removed latest version of dotnet
tools.
Comments
Post a Comment