ionide / proj-info

Parse and evaluate MsBuild project files
MIT License
64 stars 37 forks source link

ProjInfo 0.62.0's tool cannot load 8.x projects #195

Open baronfel opened 1 year ago

baronfel commented 1 year ago

Describe the bug The tool bundled copies of Microsoft.Build and Microsoft.Build.Framework assemblies in it and as a result doesn't load the versions from the SDK on-disk.

To Reproduce Steps to reproduce the behaviour:

  1. Install 0.62.0 globally
  2. run proj-info --project <project>
  3. Get an exception
  4. Navigate to <tools install dir>/.store\ionide.projinfo.tool\0.62.0\ionide.projinfo.tool\0.62.0\tools\net7.0\any and delete Microsoft.Build.dll and Microsoft.Build.Framework.dll from that directory
  5. Re-run proj-info --project <project>
  6. Get the parsed project