Yes. It was set to target .NET 4.0 framework, but property "Embed Interop Types" was true. After changing it to false, all is working as expected.
Thank you!
If it is not too much trouble, could you explain what that actually means? And, are there any other settings like that, that we need to look into when developing in .NET 4.0?