Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

[DotNetCore] Fix version support condition #7056

Merged
merged 1 commit into from Feb 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -94,7 +94,7 @@ static IEnumerable<TargetFramework> GetTargetFrameworksVersion1x (string identif
public static IEnumerable<TargetFramework> GetNetCoreAppTargetFrameworks ()
{
foreach (Version runtimeVersion in GetMajorRuntimeVersions ()) {
if (runtimeVersion.Major == 3 && runtimeVersion.Minor > 0) {
if (runtimeVersion.Major > 3 || (runtimeVersion.Major == 3 && runtimeVersion.Minor > 0)) {
// Skip versions > 3.0 since this is not currently supported.
continue;
}
Expand Down