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
1
vote
0 answers

dnvm added a bunch of junk to my environment variables on Mac OSX?

I checked my environment and somehow I have all this stuff added by DNVM. Why is it there? How can I safely get rid of it? XPC_SERVICE_NAME=0 Yel='\e[0;33m' _=.. _DNVM_ALIAS_DIR=/Users/mike.borozdin/.dnx/alias _DNVM_AUTHORS='Microsoft Open…
mikebz
  • 3,277
  • 8
  • 37
  • 50
1
vote
2 answers

Error after updating dnvm to 1.0.0-rc1-final

After updating dnvm from beta8 to 1.0.0-rc1-final I had an error in my Startup.cs: public void ConfigureServices(IServiceCollection services) { services.AddMvc(); <======= "iservicecollection does not contain a definition for add…
mr__brainwash
  • 1,334
  • 3
  • 16
  • 40
1
vote
5 answers

DNX Install - Unable to find any runtime packages on the feed

I'm following this guide on how to get setup with asp.net 5 Running the command dnvm upgrade -r clr from the command line pulls back Invoke-Command : Unable to find any runtime packages on the feed! At C:\Program Files\Microsoft…
Andrew Walters
  • 4,763
  • 6
  • 35
  • 49
1
vote
1 answer

Could not load type 'Microsoft.Framework.Configuration.Helper.ConfigurationHelper'

I have two simple poco classes in my models folder I want to use entity framework to create a migration. I also have a dbcontext class, which is the instance I want to use as my migration. When I try to run: dnx ef migrations add IntialCommit I…
conterio
  • 1,087
  • 2
  • 12
  • 25
1
vote
2 answers

ASP.NET MVC 6 Project cannot find DNX Run time

When I try to build the project the error I get is as follows.. The Dnx Runtime package needs to be installed. See output window for more details I have tried running both dnvm upgrade dnvm upgrade -r CoreClr And when I run dnvm list I can see…
Dan
  • 1,450
  • 1
  • 17
  • 34
1
vote
1 answer

.NET5 on OSX - C# errors in DNVM shell (so close..)

I'm trying to get an old project to run on the new .NET VM, I've gotten through a few obstacles at this point. For a while I couldn't get DNVM to recognize my project as a .NET project, until I added a couple missing files from a sample project, and…
Mohammed Ibrahim
  • 418
  • 4
  • 11
1
vote
0 answers

Upgrading VS2015RC MVC template to beta5 dependencies

I get an error when upgrading the VS2015RC template to beta6 and all the dependencies in project.json to beta5. Not sure if its related but had to remove app.UseBrowserLink(); from startup.cs to get it to compile. …
William
  • 1,375
  • 12
  • 27
1
vote
1 answer

__MonoCS__ constant equivalent in Mono, Roslyn, Dnvm

I have imports, that does not work well in Mono (even on compile time!), in my C# project. I want to exclude some code in Mono (in compile time). I've used something similar before: #if !__MonoCS__ ... #endif However this constant is not defined in…
Burak Tamtürk
  • 1,237
  • 8
  • 19
1
vote
1 answer

Couldn't determine an appropriate version of runtime to run

I just finished upgrading to beta4. My code compiles successfully with no errors/warnings but I am unable to launch my web api hosted in IIS Express (by hitting F5). I get the following error: Couldn't determine an appropriate version of runtime to…
David Peden
  • 17,596
  • 6
  • 52
  • 72
0
votes
0 answers

How can I build my solution through TFS online portal if I have to implement .Net CLI?

The project was using DNVM powershell script to install it on TFS but now as it got obsolete and the url https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1 returned as 404 not found. Now the need is to migrate it from DNVM to .Net…
0
votes
1 answer

brew install dnvm failed

When I try to install asp.net via these commands below: brew tap aspnet/dnx brew update brew install dnvm But after running the last command I got error: ==> Installing dnvm from aspnet/dnx ==> Cloning https://github.com/aspnet/Home.git Cloning…
windcloud
  • 23
  • 5
0
votes
0 answers

dnvm upgrade failing with exception

I'm getting an unhelpful exception when running dnvm upgrade: C:\Users\...\Visual Studio 2015\Projects\foo>dnvm upgrade Determining latest version Unable to find any runtime packages on the feed! At C:\Users\banksd\.dnx\bin\dnvm.ps1:483 char:9 + …
BanksySan
  • 27,362
  • 33
  • 117
  • 216
0
votes
1 answer

What are minimum deployment requirements to run ASP.NET 5 on IIS 7.5 on Windows Server 2008 R2?

I'm looking for a minimal set of steps to deploy a first ASP.NET 5 (MVC) solution to Server 2008 R2 with IIS 7.5. The server already has .NET Framework 4.6.1. Reading docs.asp.net and various StackOverflow posts, it seems multiple utilities and…
Mark Meyerovich
  • 193
  • 3
  • 9
0
votes
1 answer

ASP.NET MVC running Entity Framework command on the command line

I want to run dnx commands from command line in Visual studio, but it does not work. If I type the command: dnx ef I get the error: System.InvalidOperationException: No service for type 'Microsoft.Dnx.Runtime.IApplicationEnvironment' has been…
TorK
  • 567
  • 2
  • 10
  • 27
0
votes
0 answers

dnvm upgrade fails to unpack runtime with RPC_E_SERVERFAULT on CopyHere

I am trying to install ASP.NET Core for the first time. Installing dnvm with PowerShell works fine, but downloading dnx fail. When running dnvm upgrade, the process starts out eating a lot of memory (15 GB!) and freezes my computer, the process then…
Johannes Brodwall
  • 7,673
  • 5
  • 34
  • 28