CliCommandLineParser icon indicating copy to clipboard operation
CliCommandLineParser copied to clipboard

CliCommandLineParser fails to build with the latest .NET 6.0 SDK

Open MichaelSimons opened this issue 3 years ago • 3 comments

  /repos/installer/artifacts/tarball/.dotnet/sdk/6.0.100-rc.2.21426.20/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): error NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/repos/installer/artifacts/tarball/src/clicommandlineparser.3198bf5660cad3dab85f5475bf1fda9688146e3f/artifacts/source-build/self/src/src/tests/CommandLine.Tests/Microsoft.DotNet.Cli.CommandLine.Tests.csproj]
  /repos/installer/artifacts/tarball/.dotnet/sdk/6.0.100-rc.2.21426.20/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): error NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/repos/installer/artifacts/tarball/src/clicommandlineparser.3198bf5660cad3dab85f5475bf1fda9688146e3f/artifacts/source-build/self/src/src/tests/CommandLine.Tests/Microsoft.DotNet.Cli.CommandLine.Tests.csproj]
  /repos/installer/artifacts/tarball/.dotnet/sdk/6.0.100-rc.2.21426.20/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): error NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/repos/installer/artifacts/tarball/src/clicommandlineparser.3198bf5660cad3dab85f5475bf1fda9688146e3f/artifacts/source-build/self/src/src/xamples/dotnet/dotnet.csproj]
  /repos/installer/artifacts/tarball/.dotnet/sdk/6.0.100-rc.2.21426.20/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): error NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/repos/installer/artifacts/tarball/src/clicommandlineparser.3198bf5660cad3dab85f5475bf1fda9688146e3f/artifacts/source-build/self/src/src/xamples/dotnet/dotnet.csproj]
  /repos/installer/artifacts/tarball/.dotnet/sdk/6.0.100-rc.2.21426.20/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): error NETSDK1138: The target framework 'netcoreapp2.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/repos/installer/artifacts/tarball/src/clicommandlineparser.3198bf5660cad3dab85f5475bf1fda9688146e3f/artifacts/source-build/self/src/src/xamples/SampleParsers/CommandLine.SampleParsers.csproj]

This is required for source build.

MichaelSimons avatar Sep 02 '21 16:09 MichaelSimons

@MichaelSimons I was about to archive this repo and noticed you filed this relatively recently. The SDK doesn't use this anymore (or shouldn't). Was there a reason or place that source build was picking up this repo?

CC @sfoslund

marcpopMSFT avatar Nov 29 '21 22:11 marcpopMSFT

dotnet/templating still has a dependency on clicommandlineparser therefore it is part of source-build in 6.0.1xx. This dependency was going to be removed in 6.0.2xx last I heard. @vlada-shubina is there an issue tracking this work?

MichaelSimons avatar Nov 29 '21 22:11 MichaelSimons

@MichaelSimons This work unfortunately slips to .NET 7 due to various factors. Tracking issue is https://github.com/dotnet/templating/issues/2191

vlada-shubina avatar Nov 30 '21 00:11 vlada-shubina