Questions tagged [dnvm]

DNVM is the .NET Version Manager, a set of command line utilities to update and configure which .NET Runtime to use. This project is part of ASP.NET 5.

DNVM is the .NET Version Manager, a set of command line utilities to update and configure which .NET Runtime to use.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at https://github.com/aspnet/dnvm

76 questions
0
votes
1 answer

System.InvalidOperationException: The current runtime target framework is not compatible with 'HelloWorld'

I am trying to run a first helloword app with .net 5 and visual studio code. If I enter dnvm list I have this: Active Version Runtime Architecture OperatingSystem Alias ------ ------- ------- ------------ --------------- ----- …
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
0
votes
1 answer

Change the default active version showing in dnvm list

When I run dnvm list at the command prompt I see my default active version is rc1-update1 clr x86. How do I change it to x64? dnvm help shows that there is a command named "alias" which lists and manages aliases but it does not show how to set the…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
0
votes
1 answer

dnx web error 500 when try to execute

I'm trying to execute in a Mac (El Capitán), the MusicStore example in ASP.NET from the official repository. I have tested it using mono and core, switching in dnvm, but no results. The dnu build is working fine with mono, with core, the build…
chemitaxis
  • 13,889
  • 17
  • 74
  • 125
0
votes
1 answer

dnvm upgrade permission denied

I try to update dnvm in my Mac (El Capitán) but I always has this error: dnvm upgrade Determining latest version Latest version is 1.0.0-rc1-update1 dnx-mono.1.0.0-rc1-update1 already installed in /usr/local/lib/dnx Adding…
chemitaxis
  • 13,889
  • 17
  • 74
  • 125
0
votes
1 answer

DNX Error when running webapplication, ideas?

i just installed a new empty ASP.NET 5 WebApplication and got this error when running the app via IISExpress. Any idea what the problem is? Could not load file or assembly 'dnx.clr.managed' or one of its dependencies. The system cannot find the…
user1570634
  • 81
  • 1
  • 1
  • 5
0
votes
1 answer

DNVM on Mac causing console errors

I just followed the directions here for installing .NET on my mac (Yosemite 10.10) and now every time I do anything in my terminal I am spammed with this error: sh: dnvm: line 125: syntax error near unexpected token `<' sh: dnvm: line 125: ` read…
Jonathan Picazo
  • 975
  • 3
  • 13
  • 23
0
votes
2 answers

how do i build coreclr applications with dnx

i have installed dnvm, coreclr, as instructed on my mac: http://docs.asp.net/en/latest/getting-started/installing-on-mac.html and if i call list peteisace$: dnvm list Active Version Runtime Arch OperatingSystem Alias ------ ------- …
peteisace
  • 2,754
  • 1
  • 19
  • 19
0
votes
1 answer

Configuring existing ASP.NET project for DNVM, DNX environment on a Mac

I have an ASP.NET Web API project created on Windows using Visual Studio. How can I set this up for use with DNX/DNVM (on a Mac)? Switching to Git solved the source control compatibility with TFS. But I wasn't able to find references to getting a…
Robin Maben
  • 22,194
  • 16
  • 64
  • 99
0
votes
2 answers

Installing the latest DNVM

I currently have DNVM v1.0.0-beta4-10356 installed but there is no dnvm update-self command available in this version. How do I install the latest available DNVM? I have tried this command as the ASP.NET 5 GitHub page: &{$Branch='dev';iex…
Dave New
  • 38,496
  • 59
  • 215
  • 394
0
votes
1 answer

ASP.NET MVC 6 AspNet.Session Errors - Unable to resolve injected dependency?

I've been having a problem using the new Microsoft.AspNet.Session features in ASP.NET MVC 6 (vNext). The error occurs when accessing all pages, including those that don't use the session features themselves. I'm using the beta4 version for…
0
votes
1 answer

Error while running dnu restore : The AddressFamily 117 is not valid for the System.Net.IPEndPoint end point, use InterNetwork instead

I am trying to run a .NET program on linux using dnx. OS: centos 7 I have both mono and coreclr installed and dnvm is able to switch between the two. the version is 1.0.0-beta7-12264. I tried to execute a simple Hello World program and ran dnu…
ganeshran
  • 3,512
  • 7
  • 41
  • 69
0
votes
1 answer

dnvm install Mono

I've trying to build a Docker image that installs mono and runs a .NET app. I'm basically following the standard guidelines on how to build a Docker image for ASP .NET 5, but want to use Mono as the native host instead (so I can leverage non-CoreCLR…
Jeff
  • 35,755
  • 15
  • 108
  • 220
0
votes
1 answer

Upgrading ASP.NET 5 from beta-4 to beta-5

Upgraded ASP.NET5 from beta-4 to beta-5 following the instructions on Microsoft's site: http://blogs.msdn.com/b/webdev/archive/2015/06/30/asp-net-5-beta5-now-available.aspx Got ton's of compile errors (1900+) like I was missing core .NET stuff…
Ryan Langton
  • 6,294
  • 15
  • 53
  • 103
0
votes
0 answers

VNEXT Unable to build

So the issue is, during building my VNEXT Web app, i get following errors: Error CS0518 Predefined type 'System.Int32' is not defined or imported OHL.Web.DNX Core 5.0 Error CS0518 Predefined type 'System.Object' is not defined or imported …
Zaixu
  • 191
  • 1
  • 2
  • 8
0
votes
1 answer

Using System.Web.Http on mac os x

I'm new to mac but not .Net. I'm playing around with Visual Studio Code. I installed Brew and used it to get yo, grunt-cli, generator-aspnet, dnvm, and everything the tutorials say to get. I created a project scaffold with yo and the first thing I…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188