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