Generates a CodeSmith Generator Project file (.csp) based on the file path to the .csp.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public bool GenerateCode( string xmlFilePath ) |
Visual Basic |
---|
Public Function GenerateCode ( xmlFilePath As String ) As Boolean |
Parameters
- xmlFilePath
- Type: System..::..String
File path to the CodeSmith Generator Project file (.csp) file.
Return Value
Type: Booleantrue if the CodeSmith Generator Project file (.csp) was generated.