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

Building multiple assembly project with CoreCLR and dnu

What's the best practice for building a CoreCLR/DNX project comprised of multiple assemblies? Would there be a project.json for each assembly and would each need to be manually built using a custom script or can the existing build tools walk these…
Brad Robinson
  • 44,114
  • 19
  • 59
  • 88
0
votes
1 answer

How to deploy ASP.NET 5 app to Azure without triggering build in Azure with VS code

What is the best way to deploy the output of dnu publish to Azure website? I do not want build to trigger at the Azure side, because it takes forever and often breaks.
0
votes
1 answer

Entity framework 7 with Microsoft SQL server not working in Docker

I am using EntityFramework 7 with Microsoft SQL server in asp.net 5. I am using EntityFramework.MicrosoftSqlServer: 7.0.0-rc1-final. When I run my web application in visual studio everything it works as expected. But, I want to run my application in…
Tomislav
  • 13
  • 1
  • 4
0
votes
0 answers

Issue with natively binding my .Net core app to single .exe

I've created a sample app to get an idea on .Net Core with Web -> ConsoleApp(Package). I've resolved all the dependency issues but when I try to compile natively with dotnet-compile --native it's returning this error: dotnet compile…
0
votes
0 answers

Commanline build .NET Core

I'm trying to build a .NET Core project from the commandlind. The main project is a 'Web APi' which uses a library (CommonLib) that I've created as well. In VS2015 I've just added a reference to the library project and it builds fine here. Now when…
smolesen
  • 1,153
  • 3
  • 11
  • 29
0
votes
1 answer

dnu wrap not creating wrap folder

I have a vNext project that uses dnu wrap to reference an old style class library. Everything works on 4 machines but one machine is giving me trouble. I have reinstalled from the OS up and still have the problem. I get the error: Failed to…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
0
votes
1 answer

dnu publish - output

I currently have a C# web app project running in Visual Studio. I read this article which states that its possible to run your web application on a clean maachine that does not have visual studio or dnx installed. Here is what I did with my project …
James Franco
  • 4,516
  • 10
  • 38
  • 80
0
votes
1 answer

Unable to locate Dependency selenium-webdriver

I've created ASP .Net console project in Visual Studio Code (OS X). Then added the dependency in project.json: "dependencies": { "selenium-webdriver": "2.52.0" }, Run "dnu restore" and getting an error: Microsoft .NET Development Utility…
Panda
  • 156
  • 1
  • 9
0
votes
0 answers

ASP.NET Core (vNext) project can't find reference to 4.51

I have a asp.net 5 (vNext) project with a project.json that is named FMS.DOMAIN. One of the references is a dotNet 4.51 project named FMS.DAL. This works on all machine except one. On one machine it can't find this dotNet 4.51 project. I think…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
0
votes
1 answer

dnu wrapped assemblies dont really work when published and deployed

I've wrapped some assemblies with dnu wrap to be able to consume from my net451 based project. I've executed this: dnu wrap --framework net451 c:\whatever\whatever.dll from my solution root folder and it creates the wrap/package/... For the…
Ronnyek
  • 482
  • 5
  • 16
0
votes
1 answer

Package not found when installing with dnu install. Works with dnu restore

I'm trying to dnu install Microsoft.CodeAnalysis.CSharp.Scripting 1.1.1 but it fails with Error: FindPackagesById: Microsoft.CodeAnalysis.CSharp.Scripting Response status code does not indicate success: 404 (Not Found) Doing dnu restore with a…
Christian
  • 7,433
  • 4
  • 36
  • 61
0
votes
1 answer

dnu restore command fails on MAC OSX Yosemite 10.10.5

When I am running the command dnu restore with --no-cache and without --no-cache , I've got the following errors, Note that mono version is 4.2.1. visual studio code version is 0.10.06 dnvm list : Active Version Runtime Architecture…
Saeed Ganji
  • 197
  • 17
0
votes
1 answer

How can I get System.Data with dnu?

Trying to find out what version I need to get my project.json to pull the libraries I need. Right now I'm trying to get System.Data so that I can use a DataSet. Trying to brute force my way with a Curl: curl…
ovatsug25
  • 7,786
  • 7
  • 34
  • 48
0
votes
1 answer

ASP.NET 5 published output doesn't serve files from wwwroot

I am having a great deal of trouble with the published version of my MVC 6 web application. It works fine when running from Visual Studio, but when running from the published output the static files aren't being read from the wwwroot folder. I know…
Timothy Klenke
  • 814
  • 1
  • 10
  • 21
0
votes
1 answer

Ubuntu dnu restore scripts

I've got a problem with 'dnu restore' command in Ubuntu 15 trying to build an ASP.NET 5 application. If I add SignalR to dependencies in project.json, no JS scripts are added to my project directory. Visual Studio Code continues asking me to restore…
Pavel Rudko
  • 248
  • 2
  • 8