Compiler Error CS1926
Error reading Win32 manifest file 'filename' -- 'error'.
This error is generated when the following conditions are true:
The /win32manifest option is specified either on the command line or by right-clicking the Project icon in Solution Explorer, pointing to Add, clicking New Item, and then clicking Application Manifest File.
The file is either corrupted or missing.
To correct this error
Remove the option.
Replace, repair, or regenerate the file.
Example
The following example generates CS1926 when it is compiled with a corrupted for missing win32 manifest file:
// cs1926.cs
// Compile with: /win32manifest: ../../app.manifest
// CS1926
class Test
{
public static int Main()
{
return 1;
}
}
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for