I have an interesting issue that I'm trying to resolve. The resulting nuget library from running a dnu pack --out <path> command is invalid. The folder structure inside of it is lib\dnx46\dnx46\ when it should be lib\dnx46\. There is that extra dnx46 folder. When I run dnu pack without the --out <path> it works fine as well as building the project with "produce outputs on build" checked. Has any body else seen this problem and know of a fix?
dnu pack is nesting library folders in nupkg
77 Views Asked by Edward At
1
There are 1 best solutions below
Related Questions in NUGET
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- NuGet throws "Unable to satisfy package dependency constraints" but no dependency is required in the package description
- Can't build a project with Postsharp 4.1.14
- How to find a class in a list of Nuget packages
- How can I use net40 packages from NuGet when project's target framework is set to net45?
- How to disable automatic package installation / upgrade in Visual Studio?
- LocalPackageRepository returns IsLatestVersion=true for all packages
- Nexus Nuget Repository List Version Information
- Force NuGet to reference a .net framework 4.0 assembly in a 4.5 project?
- "mono nuget.exe push ..." produces invalid multipart PUT request
- NuGet keeps crashing Visual Studio 2013
- Nuget Package Update
- How do i reset nuget and start afresh?
- Can not download nuget packages
- nuget security - malware installed by nuget packages?
Related Questions in DNU
- dnu wrapped assemblies dont really work when published and deployed
- Package restore failed ASP.NET 5
- ASP.NET Core (vNext) project can't find reference to 4.51
- dnu restore behind proxy with authentication
- Unable to locate Dependency selenium-webdriver
- Running a Dnx Console App with Project Dependencies as Global Command
- Executing Gulp task(s) only when publishing ASP.NET 5 web application
- DNU Restore gives lots of "HTTP request timed out"
- dnu build conflict between mscorlib and System.Runtime
- TeamCity DNU publish fails on path length too long
- Making sure to always run the dnvm and dnu commands by adding to .bash_profile
- Package not found when installing with dnu install. Works with dnu restore
- dnu pack is nesting library folders in nupkg
- dnu publish does not deploy all image and JavaScript files
- Asp.Net Core - dnu restore fails on different machine
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It looks like it was a bug. It was due to the path using forward slashes
/and not backslashes\. When I changed my output path to use\it started working again.Here is a link to the github issue. https://github.com/dotnet/cli/issues/253