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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -