-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Resolve runtime pack assets #2822
Resolve runtime pack assets #2822
Conversation
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.
Looks good overall. Some nits and waiting for the issues being discussed with core-setup folks by mail to be resolved.
src/Tasks/Microsoft.NET.Build.Tasks/DependencyContextBuilder.cs
Outdated
Show resolved
Hide resolved
src/Tasks/Microsoft.NET.Build.Tasks/DependencyContextBuilder.cs
Outdated
Show resolved
Hide resolved
src/Tasks/Microsoft.NET.Build.Tasks/DependencyContextBuilder.cs
Outdated
Show resolved
Hide resolved
src/Tasks/Microsoft.NET.Build.Tasks/ResolveRuntimePackAssets.cs
Outdated
Show resolved
Hide resolved
…deps.json for Linux
assetInfo.DestinationSubPath = item.GetMetadata(MetadataKeys.DestinationSubPath); | ||
|
||
string assetTypeString = item.GetMetadata(MetadataKeys.AssetType); | ||
if (assetTypeString.Equals("runtime", StringComparison.OrdinalIgnoreCase)) |
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: extract method
src/Tasks/Microsoft.NET.Build.Tasks/DependencyContextBuilder.cs
Outdated
Show resolved
Hide resolved
… like an absolute path
@dsplaisted with dotnet/core-setup#4978 being fixed, the workaround to prefix paths in |
….10 (#2822) - Microsoft.DotNet.Cli.Runtime - 5.0.100-alpha1.19461.10
Fixes https://github.com/dotnet/cli/issues/10096