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
ProjectIdSpecifies project to add reference to.
targetFramework
TargetFrameworkSpecifies target framework.
Returns
- bool
True if succeed otherwise false.