Loads the project from a file.

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

Syntax

C#
public static CodeSmithProject LoadFile(
	string fileName,
	bool replaceVariables
)
Visual Basic
Public Shared Function LoadFile ( 
	fileName As String,
	replaceVariables As Boolean
) As CodeSmithProject

Parameters

fileName
Type: System..::..String
Name of the file.
replaceVariables
Type: System..::..Boolean
if set to true replace variables.

Return Value

Type: CodeSmithProject

See Also