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