Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Tests/Microsoft.NET.Publish.Tests/PublishTestUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ internal static class PublishTestUtils
new object[] { "netcoreapp3.1" },
new object[] { "net5.0" },
new object[] { "net6.0" },
new object[] { "net7.0" },
new object[] { ToolsetInfo.CurrentTargetFramework },
};

Expand All @@ -24,17 +25,19 @@ internal static class PublishTestUtils
{
new object[] { "net5.0" },
new object[] { "net6.0" },
new object[] { "net7.0" },
new object[] { ToolsetInfo.CurrentTargetFramework },
};

// This list should contain all supported TFMs after net6.0
public static IEnumerable<object[]> Net6Plus { get; } = new List<object[]>
{
new object[] { "net6.0" },
new object[] { "net7.0" },
new object[] { ToolsetInfo.CurrentTargetFramework },
};
#else
#error If building for a newer TFM, please update the values above
#error If building for a newer TFM, please update the values above to include both the old and new TFMs.
#endif
}
}