CompilerBase.

ResourcesList Property

Summary

Resources to embed.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
CompilerBase

Syntax

[BuildElementArray("resources")]
public ResourceFileSetCollection ResourcesList { get; }

Remarks

This can be a combination of resx files and file resources.

.resx files will be compiled by NAnt.DotNet.Tasks.ResGenTask and then embedded into the resulting executable.

The NAnt.DotNet.Types.ResourceFileSet.Prefix property is used to make up the resource name added to the assembly manifest for non-resx files.

For .resx files the namespace from the matching source file is used as prefix. This matches the behaviour of Visual Studio.

Multiple resources tags with different namespace prefixes may be specified.

Attributes

Type Description
BuildElementArrayAttribute Indicates that property should be treated as a XML arrayList

Value

Type Description
ResourceFileSetCollection