Feature : Allow project reference DLLs to be added to the parent nupkg for pack target like IncludeReferencedProjects in nuget.exe
## Steps 1. `dotnet new --type lib` two .csproj class libraries: projectA and projectB. 1. Change `<TargetFramework>` to `<TargetFrameworks>` if you don't have https://github.com/NuGet/Home/issues/3865. 1. Make projectA have a `ProjectReference` to projectB. 1. Add `<Type>project</Type>` to the `<ProjectReference>`. 1. `dotnet pack` projectA 1. 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](https://github.com/nuget/home/issues/3891#issuecomment-377319939 ) to see how to add ProjectReferences as DLLs in the package dynamically.**
Posted by joelverhagen on Nov 8, 2016, 2:03 AM
Tags
Related issues
- [Meta] Feedback on granular control over Copilot changes
- unexpected status 401 Unauthorized issue
- [MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
- [CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
- Video stops playing after some minutes
- [MODEL] Claude verbose code comments by default — ignores instructions to stop.
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
github (Software)
[Meta] Feedback on granular control over Copilot changes
unexpected status 401 Unauthorized issue
[MODEL] Measurable quality regression in Claude generation 5 (Fable 5 / Opus 5 / Sonnet 5): worse nonsense detection, ~2x verbosity, under-disclosed model fallb
[CRITICAL] Subagent spawning and subagent pattern bugs trigger infinite recursion, infinite token usage, grossly inefficient token usage, and lost accumulated s
Video stops playing after some minutes
[MODEL] Claude verbose code comments by default — ignores instructions to stop.
Scope Codex VS Code chats to the current workspace/project
Update on "Co-authored-by: Copilot" in commit messages
Feature : Allow project reference DLLs to be added to the parent nupkg for pack target like IncludeReferencedProjects in nuget.exe
## Steps 1. `dotnet new --type lib` two .csproj class libraries: projectA and projectB. 1. Change `<TargetFramework>` to `<TargetFrameworks>` if you don't have https://github.com/NuGet/Home/issues/3865. 1. Make projectA have a `ProjectReference` to projectB. 1. Add `<Type>project</Type>` to the `<ProjectReference>`. 1. `dotnet pack` projectA 1. 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](https://github.com/nuget/home/issues/3891#issuecomment-377319939 ) to see how to add ProjectReferences as DLLs in the package dynamically.**
Comments (0)
No comments yet. Start the discussion.