Compiler Error CS1507
Cannot link resource file 'file' when building a module
LinkResources was used in the same compilation with the module option on the TargetType, which is not allowed. For example, the following options would generate CS1507:
csc /linkresource:rf.resource /target:module in.cs
Embedding resources (Resources), however, is allowed.
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.
.NET feedback
.NET is an open source project. Select a link to provide feedback: