-
Notifications
You must be signed in to change notification settings - Fork 164
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
Multiple solutions in same folder cannot be upgraded to central package management #1621
Comments
If I try to use the same version of the CLI tool, explicitly passing
|
If I remove the |
- [ ] Include the log fileupgrade-assistant.clef
that is produced in the working directoryI cannot because I cannot invoke the tool.
Describe the bug
I have a repo which contains two solution files in the same folder, which contain a different subset of the projects in the repo. After I have upgraded one of the solutions to central package management, I can no longer do the same for the second solution. By this I mean that after selecting Upgrade in the context menu for a project in the second solution, the upgrades offered in the Upgrade Assistant window does not include an option to convert to central package management.
To Reproduce
Example repo: https://github.com/doxxx/DotNetUpgradeAssistantTwoSolutions
In this repo I have two solutions, which each contain a different project in the repo. The first commit is the original state without central package management. In this state, either SolutionOne or SolutionTwo can be opened in Visual Studio and when selecting the Upgrade option on the project, it offers the option to upgrade to central package management. The second commit is after upgrading SolutionOne to central package management. In this state, when you open SoltuionTwo in Visual Studio, selecting the Upgrade option from the project context menu no longer offers the option to upgrade to central package management.
Further technical details
5.0.408 [C:\Program Files\dotnet\sdk]
6.0.302 [C:\Program Files\dotnet\sdk]
7.0.100 [C:\Program Files\dotnet\sdk]
9.0.100 [C:\Program Files\dotnet\sdk]
The text was updated successfully, but these errors were encountered: