SDK resolvers should have an API to clear state
Open
Area: Resolvers
backlog
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
SDK resolvers have caches because they depend on certain things such as files on disk to determine paths to SDKs. In order to make the cache more effective, SDK resolvers can make these caches `static` so they can be re-used by evaluations within the same process, especially Visual Studio. However, a long lived process like `devenv.exe` can cause these caches to potentially grow. It would be good if MSBuild had an API that could tell SDK resolvers to clear their state. For example, in Visual Studio when you close a solution, the SDK resolvers' caches could be cleared.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.