The latest build of this product (v2018.1 build 0232) was released 5 months ago, which was before this thread was created.
Posted 4 months ago by Bill Rokos
Version: 18.1.0232

I'm trying to programmable add intellisense from a DLL. 

I did find something In the documentation that may work.

Under: "Activpro Syntax Editor > LL(*) Parser Framework > .NET Languages Add-on > C# Language > Getting Started"

var language = new CSharpSyntaxLanguage();
var project = language.GetService<IProjectAssembly>();
var assemblyLoader = new BackgroundWorker();
assemblyLoader.DoWork += (sender, e) => {
    project.AssemblyReferences.AddMsCorLib();  // MsCorLib should always be added at a minimum
    project.SourceFiles.QueueFile(language, @"C:\MyFile.cs");

However, the method project.AssemblyReferences.AddFrom() doesn’t seem to exists.


Comments (1)

Posted 4 months ago by Actipro Software Support - Cleveland, OH, USA

Hi Bill,

Sorry, the Silverlight version doesn't support the AddFrom call due to lack of general file access in that platform.  If you load up an Assembly and pass it to the Add method, that is effectively the same thing though.

Actipro Software Support

Add Comment

Please log in to a validated account to post comments.