In my case it was because the project was not referencing Microsoft.CSharp
. Once I added a reference to that assembly, it compiled just fine.
In my case it was because the project was not referencing Microsoft.CSharp
. Once I added a reference to that assembly, it compiled just fine.