Skip to content

Packages containing tools are being renamed #172

@moozzyk

Description

@moozzyk

ASP.NET and EF tools packages (dotnet-publish-iis, dotnet-watch, dotnet-sql-cache, dotnet-ef etc. ) are being renamed. The names of the tools, however, remain unchanged. project.json files of the projects using tools need to be updated to use new tool names.

Old package name New package name
dotnet-ef Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.Commands Microsoft.EntityFrameworkCore.Tools
dotnet-aspnet-codegenerator Microsoft.Extensions.CodeGeneration.Tools
dotnet-publish-iis Microsoft.AspNetCore.Server.IISIntegration.Tools
dotnet-razor-tooling Microsoft.AspNetCore.Razor.Tools
dotnet-sql-cache Microsoft.Extensions.Caching.SqlConfig.Tools
dotnet-user-secrets Microsoft.Extensions.SecretManager.Tools
dotnet-watch Microsoft.DotNet.Watcher.Tools

Here are some examples showing the tools section of a project.json file of a project using a tool (the imports are required for now but should not be in the future):

  • dotnet-ef and Microsoft.EntityFrameworkCore.Commands. These packages have been merged into one.
"tools": {
  "Microsoft.EntityFrameworkCore.Tools": {
    "version": "1.0.0-*",
    "imports": "portable-net451+win8"
  }
},
"dependencies": {
  "Microsoft.EntityFrameworkCore.Tools": {
    "version": "1.0.0-*",
    "type": "build"
  }
}
  • dotnet watch:
"tools": {
  "Microsoft.DotNet.Watcher.Tools": {
    "version": "1.0.0-*",
    "imports": "portable-net451+win8"
  }
}
  • dotnet publish-iis
"tools": {
  "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
    "version": "1.0.0-*",
    "imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
  }
}
  • dotnet user-secrets
"tools": { 
   "Microsoft.Extensions.SecretManager.Tools": {
      "version": "1.0.0-*",
      "imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
    }
  • dotnet sql-cache
"tools": {
    "Microsoft.Extensions.Caching.SqlConfig.Tools": "1.0.0-*",
 }

Please use dotnet/aspnetcore#1411 for discussion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions