Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp and the .csp's file content.

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

Syntax

C#
public void GenerateCodeAsync(
	string xmlFilePath,
	string xmlFragment
)
Visual Basic
Public Sub GenerateCodeAsync ( 
	xmlFilePath As String,
	xmlFragment As String
)

Parameters

xmlFilePath
Type: System..::..String
File path to the CodeSmith Generator Project file (.csp) file.
xmlFragment
Type: System..::..String
The content of the CodeSmith Generator Project file (.csp) file.

Return Value

Type:
true if the CodeSmith Generator Project file (.csp) was generated.

See Also