Open rido-min opened 6 years ago
Looks like we are not cleaning up properly upon uninstall of the last and only packageref. The error does not seem to get fixed with the proposed workaround. Is it due to the choice of package format being persisted somewhere in the obj dir? Where is the choice about the package format persisted?
Step 3 creates an assets file, which is the tell for this is PR, but then when the retargeting happens, there are no PackageReference and not RestoreProjectStyle so it just breaks.
I'd say we should add a RestoreProjectStyle
property to legacy projects when installing the first PackageReference.
Low priority given the lack of additional input.
using d15.7
Repro Steps
Expected. Build succeeds.
Observed. Build fails with
weird error message since the project is not using any packages, and project.json was never used.