Export (0) Print
Expand All
Expand Minimize

Compiler Warning (Level 2) CS1927

Visual Studio 2008

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.

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;
    }
}

Community Additions

ADD
Show:
© 2015 Microsoft