Problems adding AssemblyReferences to the SyntaxEditor

SyntaxEditor for WPF Forum

Posted 4 years ago by Ernst Holger Amort - Developer, TQS
Version: 18.1.0671

Really like the editor ... 

I tried to attach assemblies using "Add' and have problems. I would also prefer to use references already in the app domain.

The follwoing works fine:


Problem is that I don't want to expose all dlls to the user. I tried to selectively remove them, but it didn't do the trick:

foreach (var projectAssemblyAssemblyReference in projectAssembly.AssemblyReferences)
   if (projectAssemblyAssemblyReference.AssemblyName.Name.StartsWith("ActiproSoftware"))

Any ideas?

Comments (1)

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

Hi Ernst,

Instead of doing AddAllInAppDomain, I would recommend that you just call projectAssembly.AssemblyReferences.Add() on any assembly references you wish to add.

Actipro Software Support

The latest build of this product (v22.1.4) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.