-
Notifications
You must be signed in to change notification settings - Fork 258
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
Provide migration tool to move from packages.config project to packagereference #5488
Comments
There is a GitHubGist for "Converts packages.config into PackageReference at *.csproj project file" |
An another good tool on Github that use https://github.com/hvanbakel/CsprojToVs2017 |
@gmajian that script is very limited, eg doesn't work for packages where it's version number are different then the containing assembly version numbers. |
@Kassoul this tool has the same problem as the script, a lot of references aren't removed. |
@rrelyea do you want to convert to the new csproj format as well? |
We've made some progress here but needs to continue with it. |
We've the initial code ready but needs to work with PM to finalize the spec. |
@tomkuijsten no, our tool (which is work in progress) isn't currently intending to convert to the new csproj format. |
Thanks for the clear statement! |
The migrator tool (on a per project basis) will be available in 15.7 Preview3 |
When will migration support C++ and/or ASP.NET Projects? |
Some users would prefer to use VS2017's support for PackageReference, instead of the default Packages.config.
We've provided a way, in tools/options/nuget -- to choose what to use in a new project.
However, many people would like to migrate existing projects as well.
This issue is tracking our future work item to make that migration easier.
Note -- not all packages are compatible with PackageReference, so migration may not work for some projects/packages. See #4942
The text was updated successfully, but these errors were encountered: