© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
4 replies
Nolram

NuGet Private Assets not allowing access as dependency

I have one application that depends on another project. That project uses a NuGet Package. I want that NuGet package to only be availble for that core library to actually use; however, I still need it to be available as a dependency for the application.
<PrivateAssets>all</PrivateAssets>
<PrivateAssets>all</PrivateAssets>

seems to actually not even allow usage as a dependency... But in reality I just want the package to not be exposed directly to the programmer when working on the actual application. Any ideas?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ NuGet dependency Hell
C#CC# / help
3y ago
Nuget private source
C#CC# / help
4y ago
Determining Nuget Dependency Order
C#CC# / help
2y ago
Nuget publish with dependency
C#CC# / help
2y ago