Could not load file or assembly 'System.Collections.Imutable' when using source generators
I am trying source generators, and now i am getting warning
i am pretty sure that this error has something to do with
context.AdditionalFiles
as it didn't occur when i didn't use them, this is my code:
3 Replies
Remember, #roslyn is a thing
I suspect you have mismatched dependency versions between the version of VS you're using and the version of roslyn you're using
ok... and what can i do about it?
Line them up
You need to use the appropriate version of roslyn for the version of VS you want to run on