Multi-Target won't build - Missing "build" folder #358
Replies: 1 comment
-
This issue was fixed in version 1.0.1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project that has 3 libraries. Two of them should be NuGet packages and one of them is a dependency that should be packaged with one of the packages. When they target only net7.0, Nugetize works. The output only shows that one package was created, but the nuspec file for both were made.
When targeting both net7.0 and net6.0, I get a build error:
If I modify the nuget package in my local cache by making a copy of the
buildTransitive
folder and naming itbuild
, then Nugetize works.Is this a bug or am I doing something wrong? And why does it only show details for one of the packages? I used version 0.8 before and it would output both.
I am attaching the dummy solution I created to recreate the problem.
NugetizerTest - Single-Target
NugetizerTest - Multi-Target
Note: I noticed that when the project files use
TargetFrameworks
instead ofTargetFramework
even when targeting a single project, the error occurs.Beta Was this translation helpful? Give feedback.
All reactions