Upgrades the file.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
void UpgradeFile(
	ref FileInfo file
)
Visual Basic
Sub UpgradeFile ( 
	ByRef file As FileInfo
)

Parameters

file
Type: System.IO..::..FileInfo%
The file to upgrade.

Remarks

This method is called just before loading a previous config file. Use this method to modify the file before it is loaded.

See Also