You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2024. It is now read-only.
privatestaticOptionProjectOption=>newOption<string?>(new[]{"-p","--project"},"The path to a project to convert");
20
+
privatestaticOptionWorkspaceOption=>newOption<string?>(new[]{"-w","--workspace"},"The solution or project file to operate on. If a project is not specified, the command will search the current directory for one.");
21
+
privatestaticOptionMSBuildPathOption=>newOption<string?>(new[]{"-m","--msbuild-path"},"The path to an MSBuild.exe, if you prefer to use that");
22
+
privatestaticOptionTargetFrameworkOption=>newOption<string?>(new[]{"-tfm","--target-framework"},"The name of the framework you would like to upgrade to. If unspecified, the default TFM for apps chosen will be the highest available one found on your machine, and the default TFM for libraries will be .NET Standard 2.0.");
23
+
privatestaticOptionForceWebConversionOption=>newOption<bool>(new[]{"--force-web-conversion"},"Attempt to convert MVC and WebAPI projects even though significant manual work is necessary after migrating such projects.");
24
+
privatestaticOptionPreviewOption=>newOption<bool>(new[]{"--preview"},"Use preview SDKs as part of conversion");
25
+
privatestaticOptionDiffOnlyOption=>newOption<bool>(new[]{"--diff-only"},"Produces a diff of the project to convert; no conversion is done");
26
+
privatestaticOptionNoBackupOption=>newOption<bool>(new[]{"--no-backup"},"Converts projects, does not create a backup of the originals and removes packages.config file.");
27
+
privatestaticOptionKeepCurrentTfmsOption=>newOption<bool>(new[]{"--keep-current-tfms"},"Converts project files but does not change any TFMs. If unspecified, TFMs may change.");
28
+
privatestaticOptionMauiConverionOption=>newOption<bool>(new[]{"--maui-conversion"},"Attempt to convert Xamarin.Forms Projects to .NET MAUI projects. There may be additional manual work necessary after migrating such projects.");
29
+
privatestaticOptionForceRemoveCustomImportsOption=>newOption<bool>(new[]{"--force-remove-custom-imports"},"Force remove custom imports from the project file if set to true.");
30
+
privatestaticOptionUpdateOption=>newOption<bool>(new[]{"-u","--update"},"Updates the try-convert tool to the latest available version");
.AddOption(newOption(new[]{"-p","--project"},"The path to a project to convert"){Argument=newArgument<string?>(()=>null)})
35
-
.AddOption(newOption(new[]{"-w","--workspace"},"The solution or project file to operate on. If a project is not specified, the command will search the current directory for one."){Argument=newArgument<string?>(()=>null)})
36
-
.AddOption(newOption(new[]{"-m","--msbuild-path"},"The path to an MSBuild.exe, if you prefer to use that"){Argument=newArgument<string?>(()=>null)})
37
-
.AddOption(newOption(new[]{"-tfm","--target-framework"},"The name of the framework you would like to upgrade to. If unspecified, the default TFM for apps chosen will be the highest available one found on your machine, and the default TFM for libraries will be .NET Standard 2.0."){Argument=newArgument<string?>(()=>null)})
38
-
.AddOption(newOption(new[]{"--force-web-conversion"},"Attempt to convert MVC and WebAPI projects even though significant manual work is necessary after migrating such projects."){Argument=newArgument<bool>(()=>false)})
39
-
.AddOption(newOption(new[]{"--preview"},"Use preview SDKs as part of conversion"){Argument=newArgument<bool>(()=>false)})
40
-
.AddOption(newOption(new[]{"--diff-only"},"Produces a diff of the project to convert; no conversion is done"){Argument=newArgument<bool>(()=>false)})
41
-
.AddOption(newOption(new[]{"--no-backup"},"Converts projects, does not create a backup of the originals and removes packages.config file."){Argument=newArgument<bool>(()=>false)})
42
-
.AddOption(newOption(new[]{"--keep-current-tfms"},"Converts project files but does not change any TFMs. If unspecified, TFMs may change."){Argument=newArgument<bool>(()=>false)})
43
-
.AddOption(newOption(new[]{"--maui-conversion"},"Attempt to convert Xamarin.Forms Projects to .NET MAUI projects. There may be additional manual work necessary after migrating such projects."){Argument=newArgument<bool>(()=>false)})
44
-
.AddOption(newOption(new[]{"--force-remove-custom-imports"},"Force remove custom imports from the project file if set to true."){Argument=newArgument<bool>(()=>false)})
45
-
.AddOption(newOption(new[]{"-u","--update"},"Updates the try-convert tool to the latest available version"){Argument=newArgument<bool>(()=>false)})
0 commit comments