Edit

Share via


Compiler Warning (Level 2) CS1927

Ignoring /win32manifest for module because it only applies to assemblies.

A win32 manifest is only applied at the assembly level. Your module will compile but it will not have a manifest.

To correct this error

  1. Remove the /win32manifest option.

  2. Compile the code as an assembly.

Example

The following example generates CS1927 when it is compiled with both the /target:module and /win32manifest compiler options.

C#
// cs1927.cs  
// Compile with: /target:module /win32manifest  
using System;  
  
class ManifestWithModule  
{  
    static int Main()  
    {  
        return 1;  
    }  
}  

See also