NAnt SDK Documentation - v0.92 |

# Resource Constructor

[Visual Basic]
Public Sub New( _
ByVal project As ManagedProjectBase, _
ByVal resourceSourceFile As FileInfo, _
ByVal resourceSourceFileRelativePath As String, _
ByVal dependentFile As String, _
ByVal solutionTask As SolutionTask, _
ByVal gacCache As GacCache _
)
[C#]
public Resource(
ManagedProjectBase project,
FileInfo resourceSourceFile,
string resourceSourceFileRelativePath,
string dependentFile,
SolutionTask solutionTask,
GacCache gacCache
);

#### See Also

Resource Class | NAnt.VSNet Namespace