$([MSBuild]::Add($(MicrosoftNETCoreAppPackageVersion.IndexOf('.')), 1)) $(MicrosoftNETCoreAppPackageVersion.IndexOf('.', $(MicrosoftNETCoreAppPatchSeparatorIndex))) $(MicrosoftNETCoreAppPackageVersion.Substring(0, $(MicrosoftNETCoreAppPatchSeparatorIndex))) $(MicrosoftNETCoreAppPackageVersion.IndexOf('-')) $(MicrosoftNETCoreAppPackageVersion) $(MicrosoftNETCoreAppPackageVersion.Substring(0, $(MicrosoftNETCoreAppVersionPreReleaseSeparator))) $([MSBuild]::Add($(MicrosoftNETCoreAppVersionPreReleaseSeparator), 1)) $(MicrosoftNETCoreAppPackageVersion.Substring($(MicrosoftNETCoreAppVersionPreReleaseSeparatorStartIndex))) $(MicrosoftNETCoreAppMajorMinorPatchVersion) $(MicrosoftNETCoreAppMajorMinorPatchVersion)~$(MicrosoftNETCoreVersionSuffix) $([MSBuild]::Add($(AspNetCoreVersion.IndexOf('.')), 1)) $(AspNetCoreVersion.IndexOf('.', $(AspNetCoreVersionPatchSeparatorIndex))) $(AspNetCoreVersion.Substring(0, $(AspNetCoreVersionPatchSeparatorIndex))) $(AspNetCoreVersion.IndexOf('-')) $(AspNetCoreVersion) $(AspNetCoreVersion.Substring(0, $(AspNetCoreVersionPreReleaseSeparator))) $([MSBuild]::Add($(AspNetCoreVersionPreReleaseSeparator), 1)) $(AspNetCoreVersion.Substring($(AspNetCoreVersionPreReleaseSeparatorStartIndex))) $(AspNetCoreMajorMinorPatchVersion) $(AspNetCoreMajorMinorPatchVersion)~$(AspNetCoreVersionSuffix) $([MSBuild]::Add($(HostFxrVersion.IndexOf('.')), 1)) $(HostFxrVersion.IndexOf('.', $(HostFxrVersionPatchSeparatorIndex))) $(HostFxrVersion.Substring(0, $(HostFxrVersionPatchSeparatorIndex)))