The up to date checks for generating the .runsettings file do not include checking that the $(TargetPlatform) or $(DotNetTool) are up to date. When switching between possibly using a globally installed runtime and a locally installed runtime, the generated file will keep the first-run option, which caused a lot of confusion and about an hour of wasted time trying to figure out what happened.
The up to date checks for generating the .runsettings file do not include checking that the
$(TargetPlatform)
or$(DotNetTool)
are up to date. When switching between possibly using a globally installed runtime and a locally installed runtime, the generated file will keep the first-run option, which caused a lot of confusion and about an hour of wasted time trying to figure out what happened.https://github.com/dotnet/runtimelab/blob/b1095c5e91f22fa8ffa925a2938f35fd6579e611/eng/testing/runsettings.targets#L16-L17