proj-info
proj-info copied to clipboard
Different result when cracking before and after project restore.
Describe the bug I'm not sure this is a bug or it is supposed to work this way, but I'm getting a different result for cracking a project that was restored versus non-restored.
To Reproduce I've created a sample at https://github.com/nojaf/ionide.projinfo.tool-referenced-projects-repro.
Expected behaviour
Project1 has a single reference to Project2, both before and after restoring.
...
ReferencedProjects =
[{ RelativePath = "..\Project2\Project2.fsproj"
ProjectFileName =
"C:\Users\nojaf\Projects\references-repro\Project2\Project2.fsproj"
TargetFramework = "net6.0" }]
...
Actual behaviour
After restoring, Project3 was added as well:
ReferencedProjects =
[{ RelativePath = "..\Project2\Project2.fsproj"
ProjectFileName =
"C:\Users\nojaf\Projects\references-repro\Project2\Project2.fsproj"
TargetFramework = "net6.0" };
{ RelativePath = "..\Project3\Project3.fsproj"
ProjectFileName =
"C:\Users\nojaf\Projects\references-repro\Project3\Project3.fsproj"
TargetFramework = "net6.0" }]
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: Windows
- dotnet SDK version: 6.0.201
- mono / .Net Framework version: net6
- ionide.projinfo.tool: 0.58.2
Additional context If this is indeed a bug and you can provide a pointer, I would be interested to take a look at this.