postsharp / Metalama

Metalama is a Roslyn-based meta-programming framework. Use this repo to report bugs or ask questions.
176 stars 5 forks source link

Problem with Roslyn 4.7.0 still in Metalama 2023.4.1 preview #221

Closed PeterHevesi closed 1 year ago

PeterHevesi commented 1 year ago

I upgraded to Metalama 2023.4.1 preview and I thought that latest Roslyn would be supported there. But I got this warning: Analyzer assembly was disabled, because it references Roslyn version 4.7.0.0, which is newer than what is supported by the current version of Metalama (4.6.0.0).

And Roslyn was not working properly, I got some errors as well, so it seems like latest Metalama still doesn't support latest Roslyn properly.

PostSharpBot commented 1 year ago

Hello @PeterHevesi, thank you for submitting this issue. We will try to get back to you as soon as possible. Note to the PostSharp team, this ticket is being tracked in our dashboard under ID TP-33800.

gfraiteur commented 1 year ago

Thank you for reporting.

svick commented 1 year ago

This problem is specific to the 2023.4.1-preview version. Downgrading to 2023.3 should work around this, that version should support Roslyn version 4.7 without issues.

prochan2 commented 1 year ago

Fixed in Metalama 2023.4.2-preview. Other versions (2023.2 and 2023.3) were not affected.