![Avatar](https://secure.gravatar.com/avatar/7458a3ed0cebece0c6de2640b0a4248a.jpg?s=64&d=identicon&r=g)
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:
projectAssembly.AssemblyReferences.AddAllInAppDomain();
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"))
{
projectAssembly.AssemblyReferences.Remove(projectAssemblyAssemblyReference);
}
}
Any ideas?