File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 7171 </ItemGroup >
7272 <Copy SourceFiles =" @(_SdkCurrentFile)" DestinationFolder =" $(SdkDirForCurrentAndPreviousTFM)\%(RecursiveDir)" SkipUnchangedFiles =" true" />
7373
74- <!-- 3. Install previous runtimes -->
74+ <!-- 3. Install both current runtimes (.NET 9) and previous runtimes (.NET 8) -->
75+ <Exec Condition =" '%(CurrentRuntimeToInstallArguments.Identity)' != '' and !$([MSBuild]::IsOSPlatform('windows'))"
76+ IgnoreStandardErrorWarningFormat =" true"
77+ Command =" $(_DotNetInstallScriptPath) -InstallDir $(SdkDirForCurrentAndPreviousTFM) -SkipNonVersionedFiles %(CurrentRuntimeToInstallArguments.Identity)" />
78+
79+ <Exec Condition =" '%(CurrentRuntimeToInstallArguments.Identity)' != '' and $([MSBuild]::IsOSPlatform('windows'))"
80+ IgnoreStandardErrorWarningFormat =" true"
81+ Command =' powershell -ExecutionPolicy ByPass -NoProfile -command "& $(_DotNetInstallScriptPath) -InstallDir $(SdkDirForCurrentAndPreviousTFM) -SkipNonVersionedFiles %(CurrentRuntimeToInstallArguments.Identity)"' />
82+
7583 <Exec Condition =" '%(PreviousRuntimeToInstallArguments.Identity)' != '' and !$([MSBuild]::IsOSPlatform('windows'))"
7684 IgnoreStandardErrorWarningFormat =" true"
7785 Command =" $(_DotNetInstallScriptPath) -InstallDir $(SdkDirForCurrentAndPreviousTFM) -SkipNonVersionedFiles %(PreviousRuntimeToInstallArguments.Identity)" />
You can’t perform that action at this time.
0 commit comments