-
Notifications
You must be signed in to change notification settings - Fork 124
dnu publish fails with nested dependencies #120
Comments
@glatzert could you share a sample solution? |
@glatzert thanks. I've created an internal TFS bug to track this. We will get back to you. TFSID 1206645 |
This is a known issue. Tracked by aspnet/dnx#2352 |
The GitHub Issue Tracker for the aspnet/Tooling repo is being deprecated in favor of Visual Studio's Report a Problem tool. If this issue is still a problem with the RTW release of Visual Studio 2017, please report a new issue using the Report a Problem tool. While you can still use .NET Core and ASP.NET Preview tools with Visual Studio 2015, Visual Studio 2017 is now the officially supported tool for developing .NET Core and ASP.NET Core projects. By using the Report a Problem tool (available in both VS 2017 and VS 2015), you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See Visual Studio's Talk to Us page for more details. Please use the discussion topic here for feedback and questions on the deprecation of this issue tracker. Thanks! |
Closing this as dnu publish is no longer the way to publish .NET Core projects |
I tried to publish an Asp.Net project to the file system and got an error in that it cannot find a referenced assembly. But "building" the project works fine.
The Project layout (minimal for presentation purposes)
Now build the project or run it in IIS - it will work fine.
Then I added a publish profile for local file-system (just default settings)
Hitting the publish button now will throw an Error:
Now I thought I would be clever:
I created a folder "wrap/AutoMapper" and a project.json file with the information, so it'll look like the other project.json file, which VS created. And whooohoo my ErrorList was empty and the publish.. did not throw any error, but told me the publish failed.
I copied the dnu command line from the vs output and ran it inside a cmd.exe - with the following result (took this from another project, where I first saw the error):
The text was updated successfully, but these errors were encountered: