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
Make projectA have a ProjectReference to projectB.
Add <Type>project</Type> to the <ProjectReference>.
dotnet pack projectA
Open the resulting .nupkg's lib folder
Expected
projectB.dll should be in the .nupkg along with projectA.dll
Actual
projectB is still a package reference, not a DLL included in the package.
Environment
Tried latest dev's pack target.
dotnet --info
.NET Command Line Tools (1.0.0-preview3-004056)
Product Information:
Version: 1.0.0-preview3-004056
Commit SHA-1 hash: ccc4968bc3
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
UPDATE: Please see workaround posted as comment to see how to add ProjectReferences as DLLs in the package dynamically.
hmvs, camp-007, michaelkruglos, daviburg, AdamDotNet and 420 moreMeikTranel, timscharfenort, sharpSteff, brettrowberry, hesantan and 18 moresajibcefalo, StanislavPrusac, ivanzavalnii, justinhp, miyconst and 26 more