question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet pack doesn't honor AppendTargetFrameworkToOutputPath in package structure

See original GitHub issue

This project used to produce the following package structure with the 1.0.4 SDK:

image

But with the 2.0.2 SDK, it produces this instead:

image

It looks like the AppendTargetFrameworkToOutputPath property is ignored by dotnet pack.

Is this change intentional? Is there a workaround?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
thomaslevesquecommented, Nov 10, 2017

I’m not completely sure if NuGet appends the TFM to $(BuildOutputTargetFolder) here, or how this is getting added.

From the code I linked to, it seems pretty clear that it does 😉

0reactions
emgartencommented, Nov 14, 2017

This issue was moved to NuGet/Home#6184

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet pack doesn't honor ...
It looks like the AppendTargetFrameworkToOutputPath property is ignored by dotnet pack . Is this change intentional? Is there a workaround?
Read more >
asp.net - DotNet Pack Not Doing Anything
I am trying to create a nuget package for my web application but it is not producing any .nupkg outputs. I am using...
Read more >
dotnet pack command - .NET CLI
The dotnet pack command builds the project and creates NuGet packages. The result of this command is a NuGet package (that is, a...
Read more >
release-notes
A dependency manager for .NET with support for NuGet packages and git repositories.
Read more >
Building NuGet packages with Dotnet Core | by Xavier Penya
The package doesn't work if I have multiple projects. dotnet pack just packs a single project. It doesn't pack all of its project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found