Using System.Dynamic in Roslyn January 9, 2023 by Tarik I think that you should reference the Microsoft.CSharp.dll assembly