Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i set empty dependencies for package generating by Visual Studio for NetStandard project? #6951

Closed
Sellec opened this issue May 20, 2018 · 1 comment
Labels
Milestone

Comments

@Sellec
Copy link

Sellec commented May 20, 2018

Im using VS 2017.
My project uses some depencency packages but my dll generates using Costura.Fody (attaching referenced assemblies as resources into generated dll file) and need to have only one output dll.
If im enabling nuget package generation by Visual Studio, all works fine, but generated package have a list of dependencies.
Is there any way to set empty dependencies list without using NuspecFile? Maybe through NuspecProperties (i know that is not used without NuspecFile) or maybe there is a way to set "--no-dependencies" for "dotnet pack"?

@nkolev92
Copy link
Member

I believe this is a duplicate of #6354.

This was fixed in NuGet/NuGet.Client#2237, and will ship in 4.8.

@nkolev92 nkolev92 added this to the 4.8 milestone May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants