.net - dnvm install Mono -


i've trying build docker image installs mono , runs .net app.

i'm following standard guidelines on how build docker image asp .net 5, want use mono native host instead (so can leverage non-coreclr dlls).

however, out of gate, fails:

d:\>dnvm install mono410 downloading dnx-clr-win-x86.mono410 https://www.nuget.org/api/v2 unable download package: remote server returned error: (400) bad request. @ c:\users\user.dnx\bin\dnvm.ps1:560 char:13 +             throw "unable download package: {0}" -f $global:downloaddata.erro ... +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : operationstopped: (unable downl...0) bad request.:string) [], runtimeexception     + fullyqualifiederrorid : unable download package: remote server returned error: (400) bad request.   d:\>dnvm install mono402 downloading dnx-clr-win-x86.mono402 https://www.nuget.org/api/v2 unable download package: remote server returned error: (400) bad request. @ c:\users\user\.dnx\bin\dnvm.ps1:560 char:13 +             throw "unable download package: {0}" -f $global:downloaddata.erro ... +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : operationstopped: (unable downl...0) bad request.:string) [], runtimeexception     + fullyqualifiederrorid : unable download package: remote server returned error: (400) bad request. 

as can see tried 2 different versions of mono, don't think it's version specific...

what doing wrong?

update:

c:\program files (x86)\mono\bin>dnvm upgrade -r mono invoke-command : cannot validate argument on parameter 'runtime'. argument "mono" not belong set ",clr,coreclr" specified validateset attribute. supply argument in set , try command again.at c:\users\jnevins\.dnx\bin\dnvm.ps1:1487 char:9 +         invoke-command ([scriptblock]::create("dnvm-$cmd $cmdargs")) +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : invaliddata: (:) [invoke-command], parameterbindingvalidationexception     + fullyqualifiederrorid : parameterargumentvalidationerror,microsoft.powershell.commands.invokecommandcommand   c:\program files (x86)\mono\bin>dnvm install -r mono invoke-command : cannot validate argument on parameter 'runtime'. argument "mono" not belong set ",clr,coreclr" specified validateset attribute. supply argument in set , try command again.at c:\users\jnevins\.dnx\bin\dnvm.ps1:1487 char:9 +         invoke-command ([scriptblock]::create("dnvm-$cmd $cmdargs")) +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + categoryinfo          : invaliddata: (:) [invoke-command], parameterbindingvalidationexception     + fullyqualifiederrorid : parameterargumentvalidationerror,microsoft.powershell.commands.invokecommandcommand   c:\program files (x86)\mono\bin> 

mono410 not accepted value install. trying do?

also, make sure have mono installed because command above brings dnx mono, not mono itself.

however, because running on windows, not possible install mono runtime using dnvm. have an item tracking , the pr out review. merged soon.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -