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

Change .NET Development Utility (DNU) version in Visual Studio Code

how I could changing version of DNU utility used by Visual Studio Code? I have switched CoreCLR version to 1.0.0-beta5 (using DNVM) When I'm typed "dnu" in command line, there are used correct version (CoreCLR-x64-1.0.0-beta5-12103) When I run "dnu…
Petr Ciml
  • 41
  • 1
  • 4
1
vote
1 answer

Create a Nuget package VS 2015

I want to create a Nuget Package from an exiting VS 2015 ASP NET 5 Project. Its not an empty project, I have my own folder structure and dependencies in this project. What I need here is when any developer installs this package the package should…
Nilesh
  • 2,583
  • 5
  • 21
  • 34
1
vote
0 answers

asp.net5/dnx Unable to resolve reference when published but can debug?

So this seems a bit odd, I have a dnx command line application that is a single solution referencing 4 other .net 4.5 classic (aka .csproj) projects. I can execute the code and debug into it without problems. However I can not run it once it is…
runxc1 Bret Ferrier
  • 8,096
  • 14
  • 61
  • 100
1
vote
0 answers

Can't publish ASP.NET 5 with external library reference

I have included an external reference of Moneris library eSELECTplus_dotNet_API.dll to my ASP.NET 5 RC1 project. It wrapped it alright and I can build project and run it using Kestrel. But when I publish it from VS or command line I got following…
vivanov
  • 97
  • 4
  • 8
1
vote
1 answer

ASP5 deploy to windows 7 server

I'm developing web api in .NET 4.5.1. It is build on TeamCity CI server, but I would like to deploy it to the Windows 7 machine in the local network after every successful build. I wanted to use dnu publish command, but I have no idea how to use…
1
vote
1 answer

Open XML in dnx5.0 / aspnext

I'm trying to build an app that uses OpenXML in a dnx/aspnet next environment. I've added added the OpenXML dependency to my package.json "dependencies": { .... "DocumentFormat.OpenXml": "2.5.0" } However, when i try to run, i get this…
Jeff
  • 1,800
  • 8
  • 30
  • 54
1
vote
1 answer

dnu publish adds 2 packages folders to the output result

I am using dnu publish command but I have noticed that the output contains 2 packages folders as follow: 1 - approot\packages 2 - approot\src\"project name"\packages Now one difference between the two folders is that folder # 1 contains only…
Sul Aga
  • 6,142
  • 5
  • 25
  • 37
1
vote
2 answers

ASP.NET 5: Where are my output DLLs when publishing?

Where are my output DLLs when publishing an ASP.NET 5 web application? When running the MSBuild's FileSystemPublish, the publish directory looks something like this: approot folder: packages, runtime and source code wwwroot folder: web.config and…
Dave New
  • 38,496
  • 59
  • 215
  • 394
1
vote
1 answer

When should I use WebDev.WebServer.exe?

I have a ASP.NET MVC6 web application developed in VS 2015. I run it on Windows 10. I have client side JavaScript compiled by Gulp which is dropped in the wwwroot folder which I want to debug as well as debug the WebAPI controllers on the server…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
1
vote
1 answer

Folder structure in corefx projects

I am trying to understand the folder structure of a corefx project, here System.IO. Here is how the System.IO folder appears in OS X System.IO BLACKSTAR$ pwd /Users/BLACKSTAR/dotnet/corefx/src/System.IO sameer:System.IO BLACKSTAR$ tree . ├──…
Sameer
  • 3,124
  • 5
  • 30
  • 57
1
vote
1 answer

Dnu restore : Unable to locate EntityFramework.Commands >= 7.0.0-beta7

I am trying my hands on asp.net 5 . I created a asp.net5 mvc application from the template that comes with visual studio 2015. But the dnu restore is not working on the src folder. Nuget.config
Sameer
  • 3,124
  • 5
  • 30
  • 57
0
votes
1 answer

Asp.Net Core - dnu restore fails on different machine

So, this is working on one computer but when I pull my repository to my laptop I can't restore the packages. When I run dnu restore --ignore-failed-sources --no-cache several packages fail to install: Unable to locate Dependency CommandLineParser >=…
jaredcnance
  • 712
  • 2
  • 5
  • 23
0
votes
1 answer

dnu publish does not deploy all image and JavaScript files

I use the following command to deploy an ASP.Net core 1.0 MVC application. dnu publish --runtime active --no-source -o e:\website\zigs Issue: Some image files and JavaScript files in the VS2015 project wwwroot 'images' and 'js' folders are not…
0
votes
1 answer

dnu pack is nesting library folders in nupkg

I have an interesting issue that I'm trying to resolve. The resulting nuget library from running a dnu pack --out command is invalid. The folder structure inside of it is lib\dnx46\dnx46\ when it should be lib\dnx46\. There is that extra…
Edward
  • 1,407
  • 2
  • 10
  • 15
0
votes
0 answers

Publishing a CoreCLR project into an OS X Application Bundle

Are there any instructions or guides on how to publish a CoreCLR project as an OS X Application Bundle? I'm about to start porting my desktop application from Windows to OS X and trying assess the suitability of CoreCLR to the task. From what I've…
Brad Robinson
  • 44,114
  • 19
  • 59
  • 88