File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/BuiltInTools/dotnet-format Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5454 Condition =" '$(RunTestsAsTool)' == 'true' And '$(CanRunTestAsTool)' == 'true'" />
5555
5656 <!-- Update KnownFrameworkReferences to target the right version of the runtime -->
57+ <!-- We cannot use live shims when building tool packs in VMR - only package for current arch is available. -->
5758 <ItemGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'
5859 and $(MicrosoftNETCoreAppRefPackageVersion.StartsWith('$(_TargetFrameworkVersionWithoutV)'))
59- and '$(MSBuildProjectName)' != 'sdk-tasks'" >
60+ and '$(MSBuildProjectName)' != 'sdk-tasks'
61+ and ('$(DotNetBuild)' != 'true' or '$(PackAsToolShimRuntimeIdentifiers)' == '')" >
6062 <FrameworkReference
6163 Update =" Microsoft.NETCore.App"
6264 TargetingPackVersion =" $(MicrosoftNETCoreAppRefPackageVersion)"
Original file line number Diff line number Diff line change 2323 These identifiers are for generating the shim'd core executables for signing. Not all options
2424 from $(RoslynPortableRuntimeIdentifiers) work or make sense in this context.
2525 -->
26- <PackAsToolShimRuntimeIdentifiers Condition =" '$(DotNetBuild)' != 'true'" >win-x64;win-x86;osx-x64</PackAsToolShimRuntimeIdentifiers >
27- <PackAsToolShimRuntimeIdentifiers Condition =" '$(DotNetBuild)' == 'true' and $(SignableShimRuntimeIdentifier.Contains('$(TargetRid)'))" >$(TargetRid)</PackAsToolShimRuntimeIdentifiers >
26+ <PackAsToolShimRuntimeIdentifiers Condition =" '$(DotNetBuildSourceOnly)' != 'true'" >win-x64;win-x86;osx-x64</PackAsToolShimRuntimeIdentifiers >
2827
2928 <!-- Avoid https://github.com/dotnet/arcade/issues/9305 -->
3029 <AutoGenerateBindingRedirects >false</AutoGenerateBindingRedirects >
You can’t perform that action at this time.
0 commit comments