File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 17
17
<ImplicitlyExpandNETStandardFacades Condition =" '$(TargetFrameworkIdentifier)' == '.NETFramework'" >false</ImplicitlyExpandNETStandardFacades >
18
18
</PropertyGroup >
19
19
20
- <Target Name =" _UpdatePackageId" BeforeTargets =" $(PackDependsOn)" >
20
+ <!--
21
+ Workaround for cyclic package reference. PackageId is set to ain invalid value above (in evaluation phase to be picked up by Restore),
22
+ then updated to the actual value before Pack target and SourceLink source package generation target.
23
+ -->
24
+ <Target Name =" _UpdatePackageId" BeforeTargets =" $(PackDependsOn);InitializeSourceControlInformation" >
21
25
<PropertyGroup >
22
26
<PackageId >$(_ProjectDefinedPackageId)</PackageId >
23
27
<PackageId Condition =" '$(PackageId)' == ''" >$(AssemblyName)</PackageId >
You can’t perform that action at this time.
0 commit comments