Table of Contents

Method RegisterAssemblies

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

RegisterAssemblies(string[], ProjectId, TargetFramework)

Replaces assemblies in the project with new ones.

public virtual bool RegisterAssemblies(string[] references, ProjectId projectId = null, TargetFramework targetFramework = null)

Parameters

references string[]

List of assembly name.

projectId ProjectId

Specifies project to add reference to.

targetFramework TargetFramework

Specifies target framework.

Returns

bool

True if succeed otherwise false.