RicoSuter / DNT

DNT (DotNetTools): Command line tools to manage .NET projects and solutions.
MIT License
416 stars 63 forks source link

Switch-to-projects where packages have references between them #142

Open SuperJMN opened 7 months ago

SuperJMN commented 7 months ago

Hi! First of all, thanks for this wonderful tool.

I'm having problems with this file structure. It's an application that has a project to my own packages, but those packages have references between them, as well.

Solution
    Project A
        Package ONE
             Package TWO
        Package TWO

Package ONE and TWO are projects that I own and I want them replaced by references.

This is a big issue. The current tool only works for projects whose packages don't have reference between them. That happens a lot in frameworks (like mine).

I hope this has a fix or a workaround.

riccardominato commented 4 months ago

I have the same issue. With this bug you have to manually reset the right dependencies on .csproj file after after every switch-to-packages call.