Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages containing tools are being renamed #172

Open
moozzyk opened this issue Apr 27, 2016 · 0 comments
Open

Packages containing tools are being renamed #172

moozzyk opened this issue Apr 27, 2016 · 0 comments

Comments

@moozzyk
Copy link

moozzyk commented Apr 27, 2016

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

@moozzyk moozzyk added this to the 1.0.0-rc2 milestone Apr 27, 2016
@aspnet aspnet locked and limited conversation to collaborators Apr 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant