Skip to content

Conversation

@peterhuene
Copy link
Contributor

This PR fixes an unhandled exception that results when RuntimeList.xml
contains entries that have the same destination subpath when resolving the
runtime pack assets. An error is now emitted instead of the unhandled
exception.

Additionally, this fixes an unhandled exception that occurs when the
RuntimeList.xml file is not present in the runtime pack that is caused by
the exception message not having a NETSDK prefix.

Also removed an unnecessary override of the Execute method for
GenerateDepsFile task. This override should have been removed with a
previous cleanup PR, but was overlooked.

Fixes dotnet/cli#11705.

@peterhuene peterhuene added this to the 3.0.1xx milestone Jul 4, 2019
@peterhuene peterhuene requested a review from a team July 4, 2019 01:35
@peterhuene peterhuene force-pushed the fix-unhandled-exceptions-from-runtime-list-errors branch from 988ea79 to c1e1b0d Compare July 15, 2019 21:42
Peter Huene added 2 commits July 15, 2019 14:43
This commit fixes an unhandled exception that results when RuntimeList.xml
contains entries that have the same destination subpath when resolving the
runtime pack assets.  An error is now emitted instead of the unhandled
exception.

Additionally, this fixes an unhandled exception that occurs when the
RuntimeList.xml file is not present in the runtime pack that is caused by
the exception message not having a NETSDK prefix.

Also removed an unnecessary override of the `Execute` method for
`GenerateDepsFile` task.  This override should have been removed with a
previous cleanup PR, but was overlooked.

Fixes dotnet/cli#11705.
This commit changes the link in the error messages to an aka.ms link.
@peterhuene peterhuene force-pushed the fix-unhandled-exceptions-from-runtime-list-errors branch from c1e1b0d to 73e0316 Compare July 15, 2019 21:44
This commit makes the hash set that is tracking the asset sub-paths resolved
from runtime packs case-insensitive.
@peterhuene
Copy link
Contributor Author

Waiting on some feedback from @KathleenDollard before merging.

@peterhuene peterhuene merged commit 74b343a into dotnet:master Jul 16, 2019
@peterhuene peterhuene deleted the fix-unhandled-exceptions-from-runtime-list-errors branch July 16, 2019 21:17
dsplaisted pushed a commit to dsplaisted/sdk that referenced this pull request Feb 19, 2020
…030.15 (dotnet#3393)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19530.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: self-contained publish fails on Linux ARM in 3.0 Preview 7

3 participants