Skip to content

Commit 09dd019

Browse files
committed
Remove ValidateAssemblyVersionsInRefPack target
The only thing this target did was a redundant check that AssemblyVersion was set for projects in the Targeting Pack. That check was failing for the NETStandard build of System.DirectoryServices. This target was providing no value, instead we need to fix #42961 which will be a proper check of our servicing version rules.
1 parent 958f4ff commit 09dd019

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

eng/packaging.targets

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,6 @@
318318
</ItemGroup>
319319
</Target>
320320

321-
<Target Name="ValidateAssemblyVersionsInRefPack"
322-
Condition="'$(SkipValidateAssemblyVersion)' != 'true' and '$(_AssemblyInTargetingPack)' == 'true' and '$(PreReleaseVersionLabel)' == 'servicing'"
323-
AfterTargets="CoreCompile" >
324-
<Error Condition="'$(AssemblyVersion)' != '$(LastReleasedStableAssemblyVersion)'" Text="AssemblyVersion should match last released assembly version $(LastReleasedStableAssemblyVersion)" />
325-
</Target>
326-
327321
<Target Name="ValidateServicingVersionIsProperlySet"
328322
Condition="'$(PreReleaseVersionLabel)' == 'servicing' and
329323
'$(PackageUseIncrementalServicingVersion)' == 'true' and

0 commit comments

Comments
 (0)