Posted 3 years 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 3 years 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

The latest build of this product (v2018.1 build 0233) was released 2 years ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.