File tree 1 file changed +4
-1
lines changed 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,10 @@ This package is an internal implementation of the .NET Core SDK and is not meant
154
154
Outputs =" $(TargetDir)$(PackageConflictManifestFileName)" >
155
155
156
156
<ItemGroup >
157
- <_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition =" '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " />
157
+ <!-- Use package version for non-Extensions references -->
158
+ <_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition =" !Exists('$(MicrosoftInternalExtensionsRefsPath)%(ReferencePath.NuGetPackageId).dll') AND '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " />
159
+ <!-- Pin version for extensions references -->
160
+ <_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(NuGetPackageId)|3.0.0')" Condition =" Exists('$(MicrosoftInternalExtensionsRefsPath)%(ReferencePath.NuGetPackageId).dll') AND '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " />
158
161
<_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(FileName)|$(ReferencePackSharedFxVersion)')" Condition =" '%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference' AND '%(ReferencePath.IsReferenceAssembly)' == 'true' " />
159
162
</ItemGroup >
160
163
You can’t perform that action at this time.
0 commit comments