Tag: C# Errors

C# Compiler Error – CS1761 embedding the interop type ‘{0}’ from as

In this blog post, you’ll learn more about the C# Compiler Error – CS1761 and the related message description C# Compiler Error Code CS1761 C# Compiler Description for the Code :CS1761 Embedding the interop type ‘{0}’ from assembly ‘{1}’ causes a name clash in the current assembly. Consider setting the ‘Embed Interop Types’ property to false.

C# Compiler Error – CS4032 the ‘await’ operator can only be used wi

In this blog post, you’ll learn more about the C# Compiler Error – CS4032 and the related message description C# Compiler Error Code CS4032 C# Compiler Description for the Code :CS4032 The ‘await’ operator can only be used within an async method. Consider marking this method with the ‘async’ modifier and changing its return type to ‘Task’.