-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Honor RecursiveDir when used on packed items in framework packs #34291
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
Conversation
Thanks for digging into this. Let's try undoing the workarounds made in the dependency update PR to see if this works. I can undo the changes made in that PR if you add me as a collaborate to your fork, @ericstj. |
I've added you, @captainsafia |
Looks like there is still a failure related to the logging generator:
The error occurs when building the |
It looks like it's running from packs copied to the repo local |
I see, these are additional targets in the ref-pack project. aspnetcore/src/Framework/App.Ref/src/Microsoft.AspNetCore.App.Ref.csproj Lines 204 to 227 in 69eb4b3
|
@@ -125,5 +125,17 @@ public override bool Execute() | |||
|
|||
return !Log.HasLoggedErrors; | |||
} | |||
private static string GetPackagePath(ITaskItem item) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
private static string GetPackagePath(ITaskItem item) | |
private static string GetPackagePath(ITaskItem item) |
Merging to unblock SDK insertion. |
When packaging Analyzers in the ref-pack we were setting PackagePath to the full path inside the package (by appending
%(RecursiveDir)
) then Nuget was appending%(RecursiveDir)
again during pack. Avoid this by removing the expansion in our own items and fixing theCreateFrameworkList
task to append%(RecurisveDir)
in a similar manner to NuGet.Addresses #34272