-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for MAUI, logging, failed step repetitions, etc. (#1403)
* * Allow any version of .NetStandard to be migrated to MAUI * Avoid unnecessary TFM merges for MAUI TFM SelectorFilter * Always show 'dotnet --info' in case of workload install failure * Added more information to log messages, such as project names * Added MAUI step results to SARIF output * Prevent endless failed step repetitions by adding Failded to IsDone * Added failure level info to SARIF output using Note as default * Added additional optional failure details to SARIF output * Removed about:blank default which caused empty browser windows on click * Fixed a few grammar and spelling issues * * Restored `UpgradeStep.IsDone` behavior * Don't return failed steps in non-interactive mode instead * Updated tests to reflect new SARIF output * Re-enabled Maui E2E tests * Introduced TestOptions to skip the `MauiWorkloadUpgradeStep` during E2E tests * * Replace the try-convert runner version with `[VERSION]` in E2E test SARIF output * Skip the Apply part of the `MauiWorkloadUpgradeStep` but keep the rest for diagnostic output in the test
- Loading branch information
1 parent
e93b600
commit 5d07f3b
Showing
39 changed files
with
848 additions
and
625 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/OutputLevel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System; | ||
|
||
namespace Microsoft.DotNet.UpgradeAssistant | ||
{ | ||
public enum OutputLevel | ||
{ | ||
Info, | ||
Warning, | ||
Error | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/TestOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
namespace Microsoft.DotNet.UpgradeAssistant | ||
{ | ||
public class TestOptions | ||
{ | ||
public bool IsRunningTest { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.