Method GetIntermediateFilesAndResourcesForSeparateXamlFiles
- Namespace
- Alternet.FormDesigner.Wpf.Roslyn
- Assembly
- Alternet.FormDesigner.Roslyn.Wpf.v10.dll
GetIntermediateFilesAndResourcesForSeparateXamlFiles(string[], string, string, string, bool, string[], List<string>, List<string>)
Generates code and resources files from given list of xaml files.
public static Result GetIntermediateFilesAndResourcesForSeparateXamlFiles(string[] xamlFiles, string outputPath, string assemblyName, string language, bool debug, string[] assemblyReferences, List<string> generatedCodeFiles, List<string> generatedResources)
Parameters
xamlFiles
string[]List of source .xaml files.
outputPath
stringPath where generated files will be stored.
assemblyName
stringTarget assembly name.
language
stringThe .NET language used to generate code.
debug
boolassemblyReferences
string[]List of assembly references.
generatedCodeFiles
List<string>List of generated code files.
generatedResources
List<string>
Returns
- Result
True if succeed; otherwise false.