project-system icon indicating copy to clipboard operation
project-system copied to clipboard

Remove hardcoded map values s_packageVersionToComponentId

Open ocallesp opened this issue 3 years ago • 0 comments

We have to improve the design MissingRuntime to be less fragile whenever Msft adds new runtime versions.

We have to remove the hardcoded map s_packageVersionToComponentId that contains the relation (RuntimeVersion, ComponentId).

Since Sdk manages this information (runtime versions and component Ids), we have created the GitHub #25575 to request a new design-time msbuild item that can provide the componentId of a missing runtime.

Once #25575 is completed, we have to update the design of MissingSdkRuntimeDetector to read the componentId from the new design-time msbuild item.

ocallesp avatar May 18 '22 15:05 ocallesp