Questions tagged [dnu]

The DNX Utility (dnu) command-line tool provides utility functions for package management in DNX projects.

The DNX Utility (dnu) command-line tool provides utility functions for package management in DNX projects.

79 questions
4
votes
0 answers

AspNet "Visual studio Code" for Mac, how to add a local DLL dependency in project.json manually or using DNX, DNU?

There is third party DLL stored as a normal something.dll file (i.e. it is not a part of the repository, and it is not published using the repository) and sample code for this DLL, Program.cs. Whole project is simple console app, generated using…
4
votes
2 answers

Nuget Configuration in ASP.NET Core 1.0

In our existing solution we have a NuGet.Config file with the following content:
Martin Schagerl
  • 583
  • 1
  • 7
  • 19
4
votes
2 answers

dnx and dnu not running on Ubuntu 15.10

I have followed the instructions on docs.asp.net for Linux installation using dnvm list I can see that .NET Core is installed but when I enter just dnx or dnu it immediately returns and no message or error whatsoever. Where am I going wrong?
lbrahim
  • 3,710
  • 12
  • 57
  • 95
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
3
votes
1 answer

Can the dnx/dotnetcore package cache location be changed

I have a machine where the C:\ drive is running out of space and I'd like to change the location where my DNX/DOTNET packages are installed to a location under my D:\ drive. Is the package cache location configurable? NOTE: I don't have the…
Damian
  • 2,709
  • 2
  • 29
  • 40
3
votes
2 answers

DNU restore failed, https GET timed out

I'm having some problems with restoring nuget packages using 'dnu restore'. root@esomimx6s:~/TestASP5/src/TestASP5# dnu -v restore Could not determine OS version information. Defaulting to the empty string. Microsoft .NET Development Utility…
Geoffrey VL
  • 161
  • 8
3
votes
3 answers

Cannot run web app published with dnx

I have an app based on the preview template of ASP.NET 5 RC1 final. I publish the app by running dnu publish --no-source --runtime active --configuration Release The resulting package contains the runtime "dnx-clr-win-x64.1.0.0-rc1-final". When I…
Martin Klinke
  • 7,294
  • 5
  • 42
  • 64
3
votes
0 answers

dnu build conflict between mscorlib and System.Runtime

I'm trying to use mono to create a simple console application using C# and dnu. I'm trying to reference a class library project in my console application as you can see in project.json file described below: { "version": "1.0.0-*", "description":…
Nelson Senna
  • 626
  • 7
  • 9
2
votes
1 answer

Are the dotnet utilities (dnu) retired? What replaces the global commands?

Following the sphinx-autoapi integration with docfx guide, they suggest installing docfx using the following command: Install DocFX using DNU (deprecated ?) dnu commands install docfx Did DNU get retired - I just ended up using chocolatey, but it…
SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
2
votes
1 answer

dnx-watch is not recognized as an internal or external command

I've tried to install the command dnx-watch through the command prompt so that I don't need to restart my server when file changes occur in my project. After running the following command dnu commands install Microsoft.Dnx.Watcher it runs and…
dont_trust_me
  • 540
  • 8
  • 24
2
votes
1 answer

What do the * mean in the output of DNU List?

When I run DNU List I see the following output: What do the asterisks (highlighted in pink) mean? The version of DNU I'm using is: Microsoft .NET Development Utility Version: 1.0.0-rc1-16231 Type: Clr Architecture: x86 OS Name:…
Daniel James Bryars
  • 4,429
  • 3
  • 39
  • 57
2
votes
0 answers

DNU publish to linux runtime from windows OS

I want to publish using dnu to run on linux from a windows machine. This is required to make docker images, I know the usual practice is to push the source to linux docker and do "dnu restore", but that sounds a lengthy process, and completely…
Fahad
  • 858
  • 1
  • 8
  • 15
2
votes
0 answers

How To Prevent DNU Publish From Locking Files

I am consistently getting this error when doing a DNU publish The process cannot access the file 'C:...\bin\output\approot\packages\AutoMapper\3.3.1\AutoMapper.3.3.1.nupkg' because it is being used by another process With nuget.exe you could use…
brushwood
  • 115
  • 3
  • 9
2
votes
0 answers

dnu restore behind proxy with authentication

I'm trying to create an .NET CORE application on VS2015. But I'm unable to get "dnu restore" with success behind a proxy with authentication. I allways get a: 407 (Proxy Authentication Required) In other features from VS like "Extensions and…
2
votes
1 answer

Package restore failed ASP.NET 5

I am experiencing an issue with package restoring from NuGet repository in Visual Studio 2015. When I am creating a new ASP.NET 5 project the dependencies related to ASP.NET 5 don't seem to be downloaded and added to my new project and I get that…