Table of Contents

Method RegisterAssemblies

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

RegisterAssemblies(string[], ProjectId, TargetFramework)

When implemented by a class, replaces assemblies in the project with new ones.

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

Parameters

references string[]

List of assembly names.

projectId ProjectId

Specifies project to add references to.

targetFramework TargetFramework

Specifies target framework.

Returns

bool

True if succeed otherwise false.