Method WithDefaultAssemblies
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
WithDefaultAssemblies(TechnologyEnvironment, bool, ProjectId, TargetFramework, bool)
Registers some most frequently used assemblies.
Specifies technology environment. Specifies whether existing assemblies should be preserved. Specifies project to add reference to. Specifies target framework. In case of .NET Core, adds minimal set of referencespublic virtual IRoslynSolution WithDefaultAssemblies(TechnologyEnvironment technology = TechnologyEnvironment.WindowsForms, bool keepExisting = false, ProjectId projectId = null, TargetFramework targetFramework = null, bool minimal = false)
Parameters
technology
TechnologyEnvironmentkeepExisting
boolprojectId
ProjectIdtargetFramework
TargetFrameworkminimal
bool