Method CompileDesignerForm
- Namespace
- Alternet.FormDesigner.Wpf.Roslyn
- Assembly
- Alternet.FormDesigner.Roslyn.Wpf.v10.dll
CompileDesignerForm(string, string, string, IFormDesignerDataSource, string[])
Compiles form beign designed with the specified paratemers.
public static string CompileDesignerForm(string outputPath, string outputAssemblyName, string assemblyTarget, IFormDesignerDataSource source, string[] wpfResourceFiles)
Parameters
outputPath
stringOutput directory to store compilation result.
outputAssemblyName
stringOutput assembly name.
assemblyTarget
stringThe assembly target, dll, console and so on.
source
IFormDesignerDataSourceData source of the designer form.
wpfResourceFiles
string[]List of resource files.
Returns
- string
The compiled script assembly file name.