.net - ASP.NET v5 without DNX -
i understand dnx provides ability invoke various new package management features of asp.net v5 apps.
however, possible "build" 1 of these apps (using dnx etc) , "precompile" them in such way can deployed (using octopus) , run on unmodified iis server using .net framework 4.5?
i had option target .net 4.5 when creating project, , while installing dnx on our build server unlikely problem, it's push out our production web servers.
i discovered indeed possible.
i published app running following command in same directory project.json
file:
dnu publish --runtime runtimex --no-source
where runtimex
appropriate installed runtime found using:
dnvm list
this lists installed runtimes though following needed full name use argument dnu
:
dnvm name default
you can check args dnvm's "name" command specify processor bitness , runtime version , formatted name back.
once you've done this, take contents of bin\output
, run in iis or iisexpress. worked charm me, though copied output other development vm has no vs2015/dnx tools installed yet.
Comments
Post a Comment