Skip to content

Commit

Permalink
Remove dotnet-new3 (#47114)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiYanni authored Feb 26, 2025
2 parents 74ceb16 + bf03de9 commit 36986ce
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 848 deletions.
1 change: 0 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@

# Area-Templates
/src/Cli/dotnet/commands/dotnet-new @dotnet/templating-engine-maintainers
/src/Cli/dotnet-new3 @dotnet/templating-engine-maintainers
/src/Cli/Microsoft.TemplateEngine.Cli @dotnet/templating-engine-maintainers
/test/dotnet-new.Tests @dotnet/templating-engine-maintainers
/test/Microsoft.TemplateEngine.* @dotnet/templating-engine-maintainers
Expand Down
1 change: 0 additions & 1 deletion TemplateEngine.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"src\\Cli\\Microsoft.DotNet.Configurer\\Microsoft.DotNet.Configurer.csproj",
"src\\Cli\\Microsoft.DotNet.InternalAbstractions\\Microsoft.DotNet.InternalAbstractions.csproj",
"src\\Cli\\Microsoft.TemplateEngine.Cli\\Microsoft.TemplateEngine.Cli.csproj",
"src\\Cli\\dotnet-new3\\dotnet-new3.csproj",
"src\\Cli\\dotnet\\dotnet.csproj",
"src\\Microsoft.DotNet.TemplateLocator\\Microsoft.DotNet.TemplateLocator.csproj",
"src\\Microsoft.Win32.Msi\\Microsoft.Win32.Msi.csproj",
Expand Down
10 changes: 0 additions & 10 deletions sdk.sln
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TemplateEngine.Cl
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TemplateEngine.Cli.UnitTests", "test\Microsoft.TemplateEngine.Cli.UnitTests\Microsoft.TemplateEngine.Cli.UnitTests.csproj", "{F08F3E99-5294-4CE7-B492-38FE588D8428}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet-new3", "src\Cli\dotnet-new3\dotnet-new3.csproj", "{628C09B7-BE6B-4AD4-AF41-C8863C809B31}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "template_feed", "template_feed", "{536775E0-ABD9-4E57-AD41-F7BDDF2E7E02}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Common.ItemTemplates", "template_feed\Microsoft.DotNet.Common.ItemTemplates\Microsoft.DotNet.Common.ItemTemplates.csproj", "{92F4E400-8C28-41B9-9D7D-8E9A4535636B}"
Expand Down Expand Up @@ -451,8 +449,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Targets", "Targets", "{71BC
src\WasmSdk\Targets\Wasm.web.config = src\WasmSdk\Targets\Wasm.web.config
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sdk", "Sdk", "{B2CE3F28-8FEC-4715-B483-5B442E3136CE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tasks", "Tasks", "{F720D695-F35A-4700-9463-C359163D14EE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.NET.Sdk.WebAssembly.Tasks", "src\WasmSdk\Tasks\Microsoft.NET.Sdk.WebAssembly.Tasks.csproj", "{754C18B9-AEDB-4455-BAF4-844C6CEEF8F7}"
Expand Down Expand Up @@ -827,10 +823,6 @@ Global
{F08F3E99-5294-4CE7-B492-38FE588D8428}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F08F3E99-5294-4CE7-B492-38FE588D8428}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F08F3E99-5294-4CE7-B492-38FE588D8428}.Release|Any CPU.Build.0 = Release|Any CPU
{628C09B7-BE6B-4AD4-AF41-C8863C809B31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{628C09B7-BE6B-4AD4-AF41-C8863C809B31}.Debug|Any CPU.Build.0 = Debug|Any CPU
{628C09B7-BE6B-4AD4-AF41-C8863C809B31}.Release|Any CPU.ActiveCfg = Release|Any CPU
{628C09B7-BE6B-4AD4-AF41-C8863C809B31}.Release|Any CPU.Build.0 = Release|Any CPU
{92F4E400-8C28-41B9-9D7D-8E9A4535636B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{92F4E400-8C28-41B9-9D7D-8E9A4535636B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{92F4E400-8C28-41B9-9D7D-8E9A4535636B}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -1104,7 +1096,6 @@ Global
{08A18C0B-8985-49EE-AC80-EFEEDF18BCC5} = {580D1AE7-AA8F-4912-8B76-105594E00B3B}
{9C16B0D8-8B4D-479B-9861-2645BFB0A169} = {9CEF03F6-1A61-431A-8ABD-9095974629AE}
{F08F3E99-5294-4CE7-B492-38FE588D8428} = {580D1AE7-AA8F-4912-8B76-105594E00B3B}
{628C09B7-BE6B-4AD4-AF41-C8863C809B31} = {9CEF03F6-1A61-431A-8ABD-9095974629AE}
{92F4E400-8C28-41B9-9D7D-8E9A4535636B} = {536775E0-ABD9-4E57-AD41-F7BDDF2E7E02}
{AB7ADCF8-48AC-4885-9C70-16D752B97168} = {536775E0-ABD9-4E57-AD41-F7BDDF2E7E02}
{8868D816-C072-4B66-84D6-7E014EA16D48} = {580D1AE7-AA8F-4912-8B76-105594E00B3B}
Expand All @@ -1130,7 +1121,6 @@ Global
{B8550E71-0CBE-4F88-AC79-2003EFED1DE1} = {51A31407-7C6A-42E9-93B8-F21DEC518A34}
{21835A9E-D667-4761-8675-B2BC105CC2FE} = {22AB674F-ED91-4FBC-BFEE-8A1E82F9F05E}
{71BC1256-D225-4272-ADB2-95264E09AF73} = {21835A9E-D667-4761-8675-B2BC105CC2FE}
{B2CE3F28-8FEC-4715-B483-5B442E3136CE} = {21835A9E-D667-4761-8675-B2BC105CC2FE}
{F720D695-F35A-4700-9463-C359163D14EE} = {21835A9E-D667-4761-8675-B2BC105CC2FE}
{754C18B9-AEDB-4455-BAF4-844C6CEEF8F7} = {F720D695-F35A-4700-9463-C359163D14EE}
{EC4A66C5-E2E2-4201-9E8D-BAC6B630D12A} = {22AB674F-ED91-4FBC-BFEE-8A1E82F9F05E}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal TemplateListCoordinator(
}

/// <summary>
/// Handles template list display (dotnet new3 --list).
/// Handles template list display (dotnet new --list).
/// </summary>
/// <param name="args">user command input.</param>
/// <param name="cancellationToken">cancellation token.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,6 @@ private async Task<bool> ValidateInstallationRequestsAsync(InstallCommandArgs ar
.WithSubcommand<UninstallCommand>()
.WithArgument(BaseUninstallCommand.NameArgument, managedPackages.First().Identifier));
}

//TODO:
//Reporter.Error.WriteLine($"To list the templates installed in a package, use dotnet new3 <new option> <package name>.");
}
else
{
Expand Down
128 changes: 0 additions & 128 deletions src/Cli/dotnet-new3/ArgumentEscaper.cs

This file was deleted.

91 changes: 0 additions & 91 deletions src/Cli/dotnet-new3/BuiltInTemplatePackagesProvider.cs

This file was deleted.

57 changes: 0 additions & 57 deletions src/Cli/dotnet-new3/CompleteCommand.cs

This file was deleted.

Loading

0 comments on commit 36986ce

Please sign in to comment.