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
5
votes
1 answer

Kestrel Running which framework?

I have a new ASP.NET 5 project and setup the project.json as below; "frameworks": { "dnx451": { "dependencies": { "ExternalLibrary": "1.3.0" } }, "dnxcore50": {} } I'm running the project through Kestrel…
5
votes
1 answer

Porting existing ASP.NET MVC web sites to DNX

How do you port an existing ASP.NET MVC web site to build with DNX to make it cross platform? Ideally I'd like to be able to build it with VSCode
Zain Rizvi
  • 23,586
  • 22
  • 91
  • 133
4
votes
1 answer

Exception on opening existing project after ugrading to ASP.NET MVC6 beta7

I'm using Visual Studio 2015 Community Edition and updated my existing ASP.NET MVC6 application to beta7. Now I'm not able to open the project anymore. Visual Studio crashes with the following Exception: 08.09.2015…
MichaelS
  • 3,809
  • 2
  • 26
  • 33
4
votes
1 answer

Unable to run dnx console App

I have followed this link to run a dnx console app. I created two files Program.cs and project.json with the content as mentioned in the link Here is the sequence of commands that i executed F:\first-dnx> dnvm list Active Version …
Sameer
  • 3,124
  • 5
  • 30
  • 57
4
votes
2 answers

ASP.NET v5 without DNX

I understand that DNX provides the ability to invoke the various new package management features of ASP.NET v5 apps. However, is it possible to "build" one of these apps (using DNX etc) and "precompile" them in such a way that they can be deployed…
Neil Barnwell
  • 41,080
  • 29
  • 148
  • 220
4
votes
1 answer

How to Force Visual Studio to Use a Specific Version of DNX

I was messing around with the dnvm, and I ran dnvm upgrade, putting me into beta5. However, the project I am working on is staying in beta4 (at least for now). I have been attempting to revert and failing. I have gone as far as to delete the…
Ryan Tankersley
  • 193
  • 1
  • 1
  • 5
3
votes
2 answers

Make DNVM use setting global (machine)

According to the "Version Manager" documentation (dnvm, ref: https://github.com/aspnet/Home/wiki/Version-Manager) I should be able to provide the -g or -global parameter when using the command use. Documentation: dnvm use ||none…
Yves Schelpe
  • 3,343
  • 4
  • 36
  • 69
3
votes
2 answers

The dependency >= 1.0.0-rc1-update1 could not be resolved

I want to update my C# web application to the next asp.net version. I ran dnvm use 1.0.0-rc1-update1 -r clr arch x64 -p and dnvm list shows that the active version has been set to rc1-update1 Now I want to update my VS2015 solution to use…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
3
votes
1 answer

What parameters are showing undefined in this dnvm.ps1 command? Deployment to Azure Web Site Fails as a result

I have been developing a new ASP.NET 5 (MVC 6) website on Linux. I am using Git with Azure and have been able to successfully push it to SCM. However my deployment fails due to some undefined parameters. Hoping someone can tell me what the…
Lismore
  • 259
  • 2
  • 11
3
votes
1 answer

DNU Restore Unknown Header on OSX Yosemite

I've tried a couple of times to get .Net running on my MacBook using instructions found on the official Asp.Net docs and elsewhere. The latest attempt was using the Yeoman generator instructions found here. However when I try to run DNU Restore, I…
Maloric
  • 5,525
  • 3
  • 31
  • 46
3
votes
2 answers

Asp.net 5 DNX and DNU not working in Windows Server 2008 R2

I have successfully installed the dnvm using commands given here https://github.com/aspnet/home. Now I am trying dnvm upgrade but somehow it is not working for me. I get the latest version from nuget and I can see it being created to my…
eadam
  • 23,151
  • 18
  • 48
  • 71
3
votes
1 answer

Creating a .NET secret using SecretManager

I'm working with Visual Studio 2015 RC and following a tutorial for adding Facebook auth. It says to store the Facebook App Id as a secret using the SecretManager app: "Set the Facebook AppId by running user-secret set Authentication:Facebook:AppId…
John Price
  • 191
  • 1
  • 1
  • 7
2
votes
2 answers

DNVM error: cannot find dnx-clr-win-x86.1.0.0.-rc1-final

I'm having some issues with dnvm. The error that is displaying is this: D:\development\Disqorse>dnvm use 1.0.0.-rc1-final Cannot find dnx-clr-win-x86.1.0.0.-rc1-final, do you need to run 'dnvm install 1.0.0.-rc1-final'? At C:\Users\Jonathan…
user183872
  • 767
  • 2
  • 6
  • 20
2
votes
1 answer

The Dnx Runtime package needs to be installed

In VS2015 running on Windows 10 x64 machine, I am getting below error while trying to build the .net core web project. The Dnx Runtime package needs to be installed. See output window for more details Here is the output window log (only relevant…
NaveenBhat
  • 3,248
  • 4
  • 35
  • 48
2
votes
1 answer

Distinct runtime versions and the new .NET CLI

Currently when using DNX together with ASP.NET Core and .NET Core we can use DNVM to pick one version of DNX to use. Running dnvm list we see that each version contains information about: The version of the runtime Which runtime we want to use (CLR…
user1620696
  • 10,825
  • 13
  • 60
  • 81