Table of Contents

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 string

Output directory to store compilation result.

outputAssemblyName string

Output assembly name.

assemblyTarget string

The assembly target, dll, console and so on.

source IFormDesignerDataSource

Data source of the designer form.

wpfResourceFiles string[]

List of resource files.

Returns

string

The compiled script assembly file name.