You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not the primary cause of the wasted time in #9678, but it's surprising that MSBuild ever attempts to rediscover and reload SDK resolvers. Since the manifests are in one of the treat-as-immutable-for-the-process-lifetime cones, we should identify resolvers at most once in a process lifetime.
The text was updated successfully, but these errors were encountered:
Fixes#9679
Context
It seems like events in sdk resolver service are misleading. We emit some events even when resolvers were taken from process-wide cache and not actually loaded.
Changes Made
Moved the events emission to SdkResolverLoader, so that the events concerning loading are not emitted when a cached value was used.
Co-authored-by: Roman Konecny <rokonecn@microsoft.com>
It's not the primary cause of the wasted time in #9678, but it's surprising that MSBuild ever attempts to rediscover and reload SDK resolvers. Since the manifests are in one of the treat-as-immutable-for-the-process-lifetime cones, we should identify resolvers at most once in a process lifetime.
The text was updated successfully, but these errors were encountered: