Closed mthalman closed 4 months ago
When calling the Test target, the NETCoreSdkVersion property is used to configure the test environment. In some cases, it's not possible for the caller to override that value because it is hardcoded by https://github.com/dotnet/installer/blob/bf738fd99f28f1d6b80cc6af97253dc7acf00a46/src/redist/targets/GenerateBundledVersions.targets#L534. This can prevent the tests from working in the VMR environment.
Test
NETCoreSdkVersion
This is resolved by introducing a new overridable property, TestSdkVersion, that will default to NETCoreSdkVersion if not overridden.
TestSdkVersion
When calling the
Test
target, theNETCoreSdkVersion
property is used to configure the test environment. In some cases, it's not possible for the caller to override that value because it is hardcoded by https://github.com/dotnet/installer/blob/bf738fd99f28f1d6b80cc6af97253dc7acf00a46/src/redist/targets/GenerateBundledVersions.targets#L534. This can prevent the tests from working in the VMR environment.This is resolved by introducing a new overridable property,
TestSdkVersion
, that will default toNETCoreSdkVersion
if not overridden.