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"
}
}
"tools": {
"Microsoft.DotNet.Watcher.Tools": {
"version": "1.0.0-*",
"imports": "portable-net451+win8"
}
}
"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-*",
"imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
}
}
"tools": {
"Microsoft.Extensions.SecretManager.Tools": {
"version": "1.0.0-*",
"imports": "portable-net45+wp80+win8+wpa81+dnxcore50"
}
"tools": {
"Microsoft.Extensions.Caching.SqlConfig.Tools": "1.0.0-*",
}
Please use dotnet/aspnetcore#1411 for discussion
ASP.NET and EF tools packages (
dotnet-publish-iis,dotnet-watch,dotnet-sql-cache,dotnet-efetc. ) are being renamed. The names of the tools, however, remain unchanged.project.jsonfiles of the projects using tools need to be updated to use new tool names.Here are some examples showing the
toolssection of aproject.jsonfile of a project using a tool (theimportsare required for now but should not be in the future):Please use dotnet/aspnetcore#1411 for discussion