Table of Contents

Method WithDefaultAssemblies

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

WithDefaultAssemblies(TechnologyEnvironment, bool, ProjectId, TargetFramework, bool)

When implemented by a class, registers some most frequently used assemblies.

Specifies technology environment. Specifies whether existing assemblies should be preserved. Specifies project to add references to. Specifies target framework. In case of .NET Core, adds minimal set of references IRoslynSolution instance with default assemblies being registered for code completion
IRoslynSolution WithDefaultAssemblies(TechnologyEnvironment technology = TechnologyEnvironment.WindowsForms, bool keepExisting = false, ProjectId projectId = null, TargetFramework targetFramework = null, bool minimal = false)

Parameters

technology TechnologyEnvironment
keepExisting bool
projectId ProjectId
targetFramework TargetFramework
minimal bool

Returns

IRoslynSolution