Open dfederm opened 2 months ago
Upon inspection, the nullref is when looking for the CPM file. It's look for it as a "local" import, but the root path is the dir the project is in, not the repo root. Thus it's not finding the CPM file under that root and a null flows downstream and throws.
Looks like it's picking up that root path because there happens to be a sln there. So there's a bad assumption here that the sln file is at the repo root.
Workaround: Delete all slns in the repo and if required generate a new one at the repo root which contains all projects.
Would be great if the filtering could use what MSBuild actually uses for CPM ("look up the parent directory until I find one") instead of assuming some specific solution structure.
upgrade-assistant.clef
that is produced in the working directoryDoes not exist
Describe the bug
I'm getting a
NullReferenceException
when trying to run the tool on a project.To Reproduce
upgrade-assistant upgrade "<path>" --operation feature.sdkstyle
Exceptions (if any)