Skip to content

Epic: Introduce DotNet aliases (synonyms to DotNetCore aliases) #3341

@augustoproiete

Description

@augustoproiete

Background

Cake has many DotNetCore*** aliases for executing dotnet such as DotNetCoreBuild, DotNetCoreTest, etc.

The Core part in the name exists for historical reasons when .NET Core was first introduced and lasted until v3.1.

With .NET 5, Microsoft dropped the "Core" from the name, and it's time we start working towards doing the same in Cake. i.e. DotNetCoreBuild becomes DotNetBuild, DotNetCoreTest becomes DotNetTest, etc.

Agreed Implementation Approach

Cake 2.0.0 - Introduce new DotNet aliases & mark DotNetCore aliases as obsolete

  • Move implementation of DotNetCore*** aliases and settings to DotNet***
    • New DotNet*** aliases have their own DotNet***Settings
    • Forward DotNetCore*** to DotNet*** aliases
    • The DotNetCore***Settings should inherit from DotNet***Settings so that old code continues to compile
  • Mark all DotNetCore*** aliases as obsolete
  • (optional) Update website docs to redirect URLs to DotNetCore*** aliases to DotNet*** aliases

Cake 3.0.0 - Sunset DotNetCore aliases

  • Remove all DotNetCore*** aliases from the codebase
  • (If not done in 2.0.0) Update website docs to redirect URLs to DotNetCore*** aliases to DotNet*** aliases

DotNetCore alias DotNet alias / synonym
#3523 DotNetCoreMSBuild ➡️ DotNetMSBuild
#3542 DotNetCoreTool ➡️ DotNetTool
#3543 DotNetCoreRun ➡️ DotNetRun
#3544 DotNetCoreExecute ➡️ DotNetExecute
#3545 DotNetCoreClean ➡️ DotNetClean
#3546 DotNetCoreRestore ➡️ DotNetRestore
#3547 DotNetCoreBuild ➡️ DotNetBuild
#3548 DotNetCoreBuildServerShutdown ➡️ DotNetBuildServerShutdown
#3549 DotNetCoreTest ➡️ DotNetTest
#3550 DotNetCoreVSTest ➡️ DotNetVSTest
#3551 DotNetCorePublish ➡️ DotNetPublish
#3552 DotNetCorePack ➡️ DotNetPack
#3553 DotNetCoreNuGetPush ➡️ DotNetNuGetPush
#3554 DotNetCoreNuGetDelete ➡️ DotNetNuGetDelete
#3555 DotNetCoreNuGetAddSource ➡️ DotNetNuGetAddSource
#3639 DotNetCoreNuGetDisableSource ➡️ DotNetNuGetDisableSource
#3640 DotNetCoreNuGetEnableSource ➡️ DotNetNuGetEnableSource
#3641 DotNetCoreNuGetHasSource ➡️ DotNetNuGetHasSource
#3642 DotNetCoreNuGetListSource ➡️ DotNetNuGetListSource
#3643 DotNetCoreNuGetRemoveSource ➡️ DotNetNuGetRemoveSource
#3644 DotNetCoreNuGetUpdateSource ➡️ DotNetNuGetUpdateSource
DotNetCore alias setting DotNet alias setting /synonym
#3523 DotNetCoreMSBuildSettings ➡️ DotNetMSBuildSettings
#3542 DotNetCoreToolSettings ➡️ DotNetToolSettings
#3543 DotNetCoreRunSettings ➡️ DotNetRunSettings
#3544 DotNetCoreExecuteSettings ➡️ DotNetExecuteSettings
#3545 DotNetCoreCleanSettings ➡️ DotNetCleanSettings
#3546 DotNetCoreRestoreSettings ➡️ DotNetRestoreSettings
#3547 DotNetCoreBuildSettings ➡️ DotNetBuildSettings
#3548 DotNetCoreBuildServerSettings ➡️ DotNetBuildServerShutdownSettings
#3549 DotNetCoreTestSettings ➡️ DotNetTestSettings
#3550 DotNetCoreVSTestSettings ➡️ DotNetVSTestSettings
#3551 DotNetCorePublishSettings ➡️ DotNetPublishSettings
#3552 DotNetCorePackSettings ➡️ DotNetPackSettings
#3553 DotNetCoreNuGetPushSettings ➡️ DotNetNuGetPushSettings
#3554 DotNetCoreNuGetDeleteSettings ➡️ DotNetNuGetDeleteSettings
#3555 DotNetCoreNuGetSourceSettings ➡️ DotNetNuGetSourceSettings

DotNetCore aliases - https://cakebuild.net/dsl/dotnetcore/

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions