You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a NoTargets project to generate a NuGet package that contains multiple different ProjectReference's build output. So, the generated nupkg has multiple files in lib/tfm. Seems a typical pattern.
NoTargets sets IncludeBuildOutput to false for obvious reasons: NoTargets projects don't have their own build output.
However, IncludeBuildOutput is used elsewhere in the SDK code. It is also used during pack in _WalkEachTargetFramework to determine whether or not to invoke $(TargetsForTfmSpecificBuildOutput) and $(TargetsForTfmSpecificDebugSymbolsInPackages). These two properties are generally used to do what I'm trying to do: include the build output of ProjectReferences into the Nuget package.
I haven't found anything wrong with setting IncludeBuildOutput to true. It doesn't break because of the missing primary output.
The text was updated successfully, but these errors were encountered:
I use a NoTargets project to generate a NuGet package that contains multiple different ProjectReference's build output. So, the generated nupkg has multiple files in lib/tfm. Seems a typical pattern.
NoTargets sets IncludeBuildOutput to false for obvious reasons: NoTargets projects don't have their own build output.
However, IncludeBuildOutput is used elsewhere in the SDK code. It is also used during pack in _WalkEachTargetFramework to determine whether or not to invoke
$(TargetsForTfmSpecificBuildOutput)
and$(TargetsForTfmSpecificDebugSymbolsInPackages)
. These two properties are generally used to do what I'm trying to do: include the build output of ProjectReferences into the Nuget package.I haven't found anything wrong with setting IncludeBuildOutput to true. It doesn't break because of the missing primary output.
The text was updated successfully, but these errors were encountered: