private static IEnumerable <MetadataReference> GetAdditionalReferences_NetCore() => FrameworkMetadataReference.Netstandard .Concat(NuGetMetadataReference.MicrosoftAspNetCoreHttpAbstractions(Constants.NuGetLatestVersion)) .Concat(NuGetMetadataReference.MicrosoftAspNetCoreHttpFeatures(Constants.NuGetLatestVersion)) .Concat(NuGetMetadataReference.MicrosoftExtensionsPrimitives(Constants.NuGetLatestVersion));
internal static IEnumerable <MetadataReference> GetAdditionalReferencesForNetCore(string packageVersion) => NuGetMetadataReference.MicrosoftAspNetCoreHttpAbstractions(packageVersion) .Concat(NuGetMetadataReference.MicrosoftAspNetCoreHttpFeatures(packageVersion)) .Concat(NuGetMetadataReference.MicrosoftExtensionsPrimitives(packageVersion));