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.

// cs1927.cs
// Compile with: /target:module /win32manifest
using System;

class ManifestWithModule
{
    static int Main()
    {
        return 1;
    }
}

See Also

Reference

/win32manifest (Import a Custom Win32 Manifest File) (C# Compiler Options)

/target:module (Create Module to Add to Assembly) (C# Compiler Options)