-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Migrating from RC1 Packages to Correct RC2 packages (and related NuGet feed) #1525
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
Comments
Since RC2 has already shipped NuGet is the place to get RC2 packages. Some packages were renamed post RC1 - this includes the package that enables running your application with IIS. Here is the announcement of this breaking change aspnet/Announcements#164 |
Yeah this is the thing. "Some packages were renamed" doesn't cut it when trying to migrate - I need specifics of which packages were renamed and what the new names are. I'm after comprehensive information about these packages.. Its not as simple as changing all "Microsoft.AspNet.*" packages to "Microsoft.AspNetCore." for example, because that rule doesn't apply to some packages like There is a section on the docs site here but again, this isn't comprehensive and misses out packages that were changed: https://docs.asp.net/en/latest/migration/rc1-to-rc2.html#namespace-and-package-id-changes |
I would recommend watching the https://github.com/aspnet/Announcements/ repo where we announce breaking changes. The initial round of renames for RC2 (which contains EF packages) was announced here: aspnet/Announcements#144. There were a few more renames after that - e.g. renaming tool packages. I don't think we have a single list of RC1->RC2 package renames - sorry. I think, however, that after you change Microsoft.AspNet.* to Microsoft.AspNetCore.* and EntityFramework.* to Microsoft.EntityFrameworkCore.* you will end up having only a handful of packages that need more work. |
@moozzyk thanks. The breaking changes list does help. I really do think this information needs consolidating to be more helpful for developers trying to migrate to RC2. This asp.net docs section looks like the relevant place to do that I guess. One question, I couldn't see any breaking change mentioning the |
I can see the rc2 version of the BrowserLink package on NuGet - https://www.nuget.org/packages/Microsoft.VisualStudio.Web.BrowserLink.Loader/14.0.0-rc2-final |
@moozzyk - ok that's what I thought too, so it's odd that #1381 mentions dropping that package when migrating! Also I noticed that this package doesn't stick with the convention of all the other RC2 packages i.e it's not "1.0.0-rc2-final" (or "1.0.0-preview1-final" for tools) it's version 14. I am sure there is a reason for that, but again, its just confusing coming across all these edge cases. I am sure anyone attempting to upgrade to RC2 at present will be experiencing the same kind of frustrations, which is why i am trying to create this RC1 - RC2 upgrade utility. |
I'm writing an upgrade tool for upgrading RC1 projects to RC2, and part of that is dealing with upgrading nuget packages to RC2 versions.
I am quite confused as to the migration path for the various Microsoft NuGet packages. I have read the various bloggs and github issues relating to upgrading but none seem to capture a comprehensive list of RC1 microsoft packages, and the what the upgrade process should be to go to RC2 (i.e the new RC2 package name and version, or whether the package can now be dropped).
Shawns blog has helped, but it's not comprehensive, and even mentions packages that don't exist like
Microsoft.AspNetCore.Server.IIS
.The text was updated successfully, but these errors were encountered: