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

ASPNET5 Class Library throws Current Runtime Target Framework is not compatible with ''

I wanted to do EntityFramework work inside a seperate class library project (with name AbsenceRequests.Data.EF) so that it can be maintained seperately. I run into some issues with the project.json system, currenlty it looks like this: { …
Yves Schelpe
  • 3,343
  • 4
  • 36
  • 69
2
votes
1 answer

Unable to find an entry point named uv_loop_size when launching Kestrel http server

I created a simple ASP.NET 5 web app using yeoman under Ubuntu: yo aspnet cd WebApplication dnu restore dnx web And I am getting the following error: System.EntryPointNotFoundException: Unable to find an entry point named 'uv_loop_size' in DLL…
BigONotation
  • 4,406
  • 5
  • 43
  • 72
2
votes
1 answer

How can I target .NET35 on OSX using mono and dnx/dnvm?

on Windows using Visual Studio 2015, I can compile a project with dnu build. The project.json file looks as follows: { "version": "1.0.0-*", "description": "My Class Library", "authors": [ "Class Library template" ], "tags": [""], …
RoelF
  • 7,483
  • 5
  • 44
  • 67
2
votes
1 answer

How to set dnvm version for Visual Studio 2015

I downloaded beta8 for ASP.NET 5 and am trying to set it as the default for new Visual Studio projects. Using the Developer command prompt for Visual Studio 2015 I did: dnvm use 1.0.0-beta8 -arch x64 -p My command prompt now displays: c:\>dnvm…
Drew
  • 2,601
  • 6
  • 42
  • 65
2
votes
0 answers

How can I build application on CoreFX that was built from source

I try to build application with dotnet core that was built from github repos. What I do: Clone/download CoreFX: https://github.com/dotnet/corefx.git - OK Try to build it. Instructions are here - ОК Install DNVM/DNX. Built and run hello world app…
speshuric
  • 126
  • 6
2
votes
1 answer

Microsoft Asp.net 5 DNX runtime version is still in beta?

I'm bit confused, hope anyone clarify me. I'm Currently working in Asp.Net 5. Most of the DLL's and Framework are in beta as mentioned below. Can we start developing an app using this beta version? Can we move the code to production which we built…
2
votes
2 answers

Error when upgrading beta5 to beta6

I upgraded from ASP.NET 5 beta5 to beta6 using the instructions shown here: How to upgrade ASP.NET 5 (vnext) from Beta5 to Beta6 I now get a very odd unexpected application error, what could cause this and how do I fix it? Unexpected application…
Ryan Langton
  • 6,294
  • 15
  • 53
  • 103
1
vote
0 answers

Error installing dnvm on windows 10

I am trying to do a fresh install of dnvm using the command &{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))} through powershell, but I keep getting this…
Alfred Shaker
  • 135
  • 3
  • 13
1
vote
1 answer

Getting Error for changing in .xproj file while migrating to asp.net core rc2

While migrating to ASP.Net RC 2, I am getting this error "The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the declaration is correct,…
1
vote
1 answer

dnvm is not recognized as an internal or external command

I just installed rc2 of aspnet core. I have a project setup and I'd like to create a database by adding some migrations. However when I attempted to open the Developer Command Prompt for VS2015 and run dnvm it says the command isn't recognized. Also…
JacobK
  • 53
  • 8
1
vote
1 answer

Nuget config and dnu restore on fresh windows install

After getting a new server up and running, I tried to get a dnx project working. I ran dnu restore on a project, and get this error. Errors in C:\apps\ElasticIndexer\app\project.json Unable to locate Dependency TestApplication >= 1.0.1 Feeds…
DavidG
  • 469
  • 3
  • 12
1
vote
1 answer

ASP.NET 5 Multiple Projects one solution

I have recently started trying out ASP.NET 5, specifically starting a project with yo-aspnet generator. I am trying to figure out how to create a solution with multiple projects, like was normal in the pre-ASP.NET 5 days. For example, a solution…
dacox
  • 502
  • 1
  • 6
  • 14
1
vote
1 answer

DNU Restore results in multiple "The file exists" warning and errors and eventually dies

I recently updated my VS 2015 to Update 2 and also did a dnvm update-self. After taking these actions I'm now unable to perform dnu restores. I see the following error for almost every package from both myget and nuget GET…
swannee
  • 3,346
  • 2
  • 24
  • 40
1
vote
1 answer

ASP.NET OmniSharp server is not running on Ubuntu Mono

After setting up VS Code, I'm trying to run an ASP.NET 5 project using Visual studio code's command palette on Ubuntu Linux 14.4. The DNVM installed is for Mono. Following the steps given on VS code's official docs, the project is created with…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
1
vote
1 answer

Making sure to always run the dnvm and dnu commands by adding to .bash_profile

I was following along Installing ASP.NET 5 and DNX post and here I'm stuck: Tip: Add the following to your .bash_profile and restart the Terminal. The first line will ensure that you can always run the dnvm and dnu commands. The second line works…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219