NAnt SDK Documentation - v0.92 |

# ResGenTask.NeedsCompiling Method

Determines whether the specified input file needs to be compiled.

[Visual Basic]
Overridable Protected Function NeedsCompiling( _
ByVal inputFile As FileInfo, _
ByVal outputFile As FileInfo _
) As Boolean
[C#]
protected virtual bool NeedsCompiling(
FileInfo inputFile,
FileInfo outputFile
);

#### Parameters

inputFile
  The input file.
outputFile
  The output file.

#### Return Value

true if the input file need to be compiled; otherwise false.

#### See Also

ResGenTask Class | NAnt.DotNet.Tasks Namespace