-
Notifications
You must be signed in to change notification settings - Fork 520
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
copy_local: false
has no effect in paket.references (.NET SDK)
#3186
Comments
I also have this problem. I have tried fiddling with paket.restore.targets, but I cannot make it work. I also cannot find any good documentation on what exactly the options for ExcludeAssets and PrivateAssets mean, and which of those that replaces the old copy local/private flag. |
Seems like the |
The problem I have is using VS2017. It breaks this when it opens the project and generates all the |
The difference between setting
I would think that both should end up with |
Seems like it's hard-coded to be
Although it does parse the references file first with |
It seems that it's broken again for .NET Core 3 Preview. |
You mean core 3 breaks it? /cc @cartermp |
It's hard for me to tell what's the reason for it no to work anymore, but with preview 4 installed targeting to netcoreapp3.0 ignores copy_local option. While targeting netcoreapp2.0 don't. |
The issue is related to the recently resolved #3154
Use the same steps for reproducing the problem with one change:
copy_local: false
in paket.dependenciesSuave copy_local: false
Expected result
On building the project Suave.dll is not copied to the output directory.
Actual result
Suave.dll is copied to the output directory.
The text was updated successfully, but these errors were encountered: