Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public void Configure()
if (ShouldPrintFirstTimeUseNotice())
{
Stopwatch beforeFirstTimeUseNotice = Stopwatch.StartNew();
// Migrate the nuget state from earlier SDKs
NuGet.Common.Migrations.MigrationRunner.Run();

if (!_dotnetFirstRunConfiguration.NoLogo)
{
PrintFirstTimeMessageWelcome();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,12 @@ static int Last2DigitsTo0(int versionBuild)
[InlineData("net6.0")]
public void It_can_publish_runtime_specific_apps_with_library_dependencies_self_contained(string targetFramework) {

// There's a bug when using the 6.0 SDK with 17.4 but we have limited control over the VS version used in helix
Version.TryParse(TestContext.Current.ToolsetUnderTest.MSBuildVersion, out Version msbuildVersion);
Version.TryParse("17.4.0", out Version maximumVersion);
if (msbuildVersion >= maximumVersion)
return;

// create a basic library and a basic app, reference the library from the app and then
// publish the app with a RID specified and self-contained.
// verify that no warnings about missing the --self-contained flag are emitted.
Expand Down