File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Tasks/Microsoft.NET.Build.Tasks Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ Copyright (c) .NET Foundation. All rights reserved.
601601
602602 <PropertyGroup>
603603 <NetCoreRoot Condition="'%24(NetCoreRoot)' == ''">%24([MSBuild]::NormalizePath('%24(MSBuildThisFileDirectory)..\..\'))</NetCoreRoot>
604- <NetCoreSdkRoot Condition="'%24(NetCoreSdkRoot)' == ''" >%24(MSBuildThisFileDirectory)</NetCoreSdkRoot>
604+ <NetCoreSdkRoot>%24(MSBuildThisFileDirectory)</NetCoreSdkRoot>
605605 <NetCoreTargetingPackRoot Condition="'%24(NetCoreTargetingPackRoot)' == ''">%24([MSBuild]::EnsureTrailingSlash('%24(NetCoreRoot)'))packs</NetCoreTargetingPackRoot>
606606 <PrunePackageDataRoot Condition="'%24(PrunePackageDataRoot)' == ''">%24([MSBuild]::EnsureTrailingSlash('%24(MSBuildThisFileDirectory)'))PrunePackageData</PrunePackageDataRoot>
607607
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Copyright (c) .NET Foundation. All rights reserved.
1616 <PropertyGroup Condition =" '$(NETCoreSdkBundledVersionsProps)' == ''" >
1717 <NETCoreSdkBundledVersionsProps >$(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props</NETCoreSdkBundledVersionsProps >
1818 </PropertyGroup >
19- <Import Project =" $(NETCoreSdkBundledVersionsProps)" Condition =" Exists('$(NETCoreSdkBundledVersionsProps)')" />
19+
20+ <Import Project =" $(NETCoreSdkBundledVersionsProps)" Condition =" '$(NetCoreSdkRoot)' == '' and Exists('$(NETCoreSdkBundledVersionsProps)')" />
2021
2122</Project >
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ Copyright (c) .NET Foundation. All rights reserved.
1515 <NETCoreSdkBundledVersionsProps >$(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props</NETCoreSdkBundledVersionsProps >
1616 </PropertyGroup >
1717
18- <!-- Import bundled version information that needs to be availble before the Common.props / D.B.props import
18+ <!-- Import bundled version information that needs to be available before the Common.props / D.B.props import
1919 in order for users to be able to reference it. -->
20- <Import Project =" $(NETCoreSdkBundledVersionsProps)" Condition =" Exists('$(NETCoreSdkBundledVersionsProps)')" />
20+ <Import Project =" $(NETCoreSdkBundledVersionsProps)" Condition =" '$(NetCoreSdkRoot)' == '' and Exists('$(NETCoreSdkBundledVersionsProps)')" />
2121
2222</Project >
You can’t perform that action at this time.
0 commit comments