From 11c45773ceb3d530f9878c0565574f7b968d26cf Mon Sep 17 00:00:00 2001 From: Andriy Svyryd Date: Fri, 17 Jan 2025 15:21:23 -0800 Subject: [PATCH] Readd --msbuildprojectextensionspath and document it as obsolete --- src/dotnet-ef/ProjectOptions.cs | 1 + src/dotnet-ef/Properties/Resources.Designer.cs | 4 ++-- src/dotnet-ef/Properties/Resources.resx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dotnet-ef/ProjectOptions.cs b/src/dotnet-ef/ProjectOptions.cs index 890c8d4f970..b2f9222cc6c 100644 --- a/src/dotnet-ef/ProjectOptions.cs +++ b/src/dotnet-ef/ProjectOptions.cs @@ -24,6 +24,7 @@ public void Configure(CommandLineApplication command) Framework = command.Option("--framework ", Resources.FrameworkDescription); Configuration = command.Option("--configuration ", Resources.ConfigurationDescription); Runtime = command.Option("--runtime ", Resources.RuntimeDescription); + command.Option("--msbuildprojectextensionspath ", Resources.ProjectExtensionsDescription); NoBuild = command.Option("--no-build", Resources.NoBuildDescription); } } diff --git a/src/dotnet-ef/Properties/Resources.Designer.cs b/src/dotnet-ef/Properties/Resources.Designer.cs index 406d06db3fd..9c2b87d72b2 100644 --- a/src/dotnet-ef/Properties/Resources.Designer.cs +++ b/src/dotnet-ef/Properties/Resources.Designer.cs @@ -324,7 +324,7 @@ public static string NamespaceDescription => GetString("NamespaceDescription"); /// - /// Additionally generate all the code required for NativeAOT compilation and precompiled queries (experimental) + /// Additionally generate all the code required for NativeAOT compilation and precompiled queries (experimental). /// public static string NativeAotDescription => GetString("NativeAotDescription"); @@ -438,7 +438,7 @@ public static string ProjectDescription => GetString("ProjectDescription"); /// - /// The MSBuild project extensions path. Defaults to "obj". + /// Obsolete /// public static string ProjectExtensionsDescription => GetString("ProjectExtensionsDescription"); diff --git a/src/dotnet-ef/Properties/Resources.resx b/src/dotnet-ef/Properties/Resources.resx index 45c0a7bae0e..6000f72735e 100644 --- a/src/dotnet-ef/Properties/Resources.resx +++ b/src/dotnet-ef/Properties/Resources.resx @@ -322,7 +322,7 @@ The project to use. Defaults to the current working directory. - The MSBuild project extensions path. Defaults to "obj". + Obsolete The provider to use. (E.g. Microsoft.EntityFrameworkCore.SqlServer)