-
Notifications
You must be signed in to change notification settings - Fork 255
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
[Bug]: nuget.exe regression in handling of recursive <files> entries between 5.9.1 and 5.10.0 #11125
Comments
@aortiz-msft |
@erdembayar - Could you please validate that the linked PR is the offending change? |
@aortiz-msft |
@zkat - Would you please take a look? |
Copy my confusion from dotnet/docfx#7569, we need some clarification on the intended behavior when
|
Thanks for reporting this, I'm going to revert the change that caused this regression and we've added a test to catch it if it ever happens again. |
NuGet Product Used
NuGet.exe
Product Version
5.10
Worked before?
5.9.1
Impact
I'm unable to use this version
Repro Steps & Context
If I'm using a recursive
src
pattern and atarget
in5.9.1
then it recursively recreates the directory tree inside that target folder. E.g.Creates something like the following:
In
5.10
it does the same but apparently only from the point in the directory hierarchy where you put the**
. E.g. the same configuration creates something like the following:The behavior in
5.10
matches the documentation ofsrc
andtarget
currently in the .nuspec reference so this may have been a deliberate change in behavior, though I can't see anything in the 5.10 release notes about it.This change broke our nuspec when our build server was automatically upgraded to the latest
5.*
(a minor version update). We've fixed for the5.10
behavior but our.nuspec
can no longer be correctly consumed by older versions ofnuget.exe
. Is there a backwards-compatible workaround we can use, or is this a regression that's likely to be reverted?Another concern is that currently
nuget update -self
does not install 5.10.0 so this issue may have gone unnoticed for a while (edit: this has been fixed).This repository can be used to reproduce and visualize the change in behavior - example output below.
https://github.com/deadalusai/NuGetFilesBehaviorRepro
Verbose Logs
The text was updated successfully, but these errors were encountered: