Tag: C# Errors

C# Compiler Error – CS1730 assembly and module attributes must prec

In this blog post, you’ll learn more about the C# Compiler Error – CS1730 and the related message description C# Compiler Error Code CS1730 C# Compiler Description for the Code :CS1730 Assembly and module attributes must precede all other elements defined in a file except using clauses and extern alias declarations

C# Compiler Error – CS1758 cannot embed interop type ‘{0}’ found in

In this blog post, you’ll learn more about the C# Compiler Error – CS1758 and the related message description C# Compiler Error Code CS1758 C# Compiler Description for the Code :CS1758 Cannot embed interop type ‘{0}’ found in both assembly ‘{1}’ and ‘{2}’. Consider setting the ‘Embed Interop Types’ property to false.

C# Compiler Error – CS8418 ‘{0}’: type used in a using statement mu

In this blog post, you’ll learn more about the C# Compiler Error – CS8418 and the related message description C# Compiler Error Code CS8418 C# Compiler Description for the Code :CS8418 ‘{0}’: type used in a using statement must be implicitly convertible to ‘System.IDisposable’. Did you mean ‘await using’ rather than ‘using’?