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
79 Views Asked by Edward At
1
There are 1 best solutions below
Related Questions in NUGET
- How do I locally specify the path for nuget in my dockerfile?
- Finding all available versions of a NuGet package within a specific version range
- An error occurred while trying to restore packages: 'Dapper' already has a dependency defined for 'System.Data.SqlClient'
- .NET 6 Custom Nuget package referencing other packages - Do I have to include the other packages myself?
- What is the trigger for JFrog Artifactory to sort a nuget package as "prerelease"?
- Force new version of a different package without referencing it
- dotnet build not able to find nuget package in custom source while Visual Studio manage it
- How to resolve the errors when Nugets need to be downgraded
- How can I copy plug-in DLLs from a sub folder using NuGet
- .NET dependency management: `dotnet add package` vs. Paket?
- Nuget Package downloaded to wrong directory
- How to resolve NuGet Transitive Packages with vulnerabilities
- error NU1101: Unable to find package Telerik.Drawing.Skia.Trial. No packages exist with this id in source(s)
- ASP.NET Core library project that produces NuGet package
- NuGet package doesn't copy file to destination project
Related Questions in DNU
- Are the dotnet utilities (dnu) retired? What replaces the global commands?
- Getting ASP.NET Core RC1, DNX & dnu on CI/build server after release of ASP.NET Core RTM
- Nuget config and dnu restore on fresh windows install
- How can you automate the update of a Nuget reference to latest version in an ASP.NET Core project?
- Asp.Net Core - dnu restore fails on different machine
- dnu publish does not deploy all image and JavaScript files
- dnu pack is nesting library folders in nupkg
- dnx-watch is not recognized as an internal or external command
- Publishing a CoreCLR project into an OS X Application Bundle
- Building multiple assembly project with CoreCLR and dnu
- AspNet "Visual studio Code" for Mac, how to add a local DLL dependency in project.json manually or using DNX, DNU?
- DNU Restore results in multiple "The file exists" warning and errors and eventually dies
- How to deploy ASP.NET 5 app to Azure without triggering build in Azure with VS code
- Uninstall Mono, .NET Core and all related stuffs from OSX
- Entity framework 7 with Microsoft SQL server not working in Docker
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