Remove -runtime version suffix hack for M.E. (#34464)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Fri, 3 Apr 2020 01:51:21 +0000 (18:51 -0700)
committerGitHub <noreply@github.com>
Fri, 3 Apr 2020 01:51:21 +0000 (18:51 -0700)
eng/Versions.props
eng/packaging.targets

index 976b539..cbc5c6d 100644 (file)
@@ -8,7 +8,6 @@
     <PatchVersion>0</PatchVersion>
     <PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
     <PreReleaseVersionIteration>4</PreReleaseVersionIteration>
-    <PreReleaseVersionIteration Condition="$(MSBuildProjectName.StartsWith('Microsoft.Extensions.'))">$(PreReleaseVersionIteration)-runtime</PreReleaseVersionIteration>
     <!-- Set assembly version to align with major and minor version,
          as for the patches and revisions should be manually updated per assembly if it is serviced. -->
     <AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>
index c683354..e0f7eda 100644 (file)
                       '$(_excludeCompile)' == 'true' and
                       '%(Dependency.Identity)' != '_._'" />
   </Target>
-
-  <Target Name="UndoExtensionsSuffix" Condition="$(MSBuildProjectName.StartsWith('Microsoft.Extensions'))" BeforeTargets="GenerateNuspec">
-    <ItemGroup>
-      <Dependency Condition="!$([System.String]::Copy('%(Dependency.Identity)').StartsWith('Microsoft.Extensions'))">
-        <Version>$([System.String]::Copy('%(Dependency.Version)').Replace('-runtime', ''))</Version>
-      </Dependency>
-    </ItemGroup>
-  </Target>
 </Project>
\ No newline at end of file