Hello,
First off, let me say what a FANTASTIC component the ActiPro Syntax Editor for Winforms with the .NET Languages Add-On is. I've made a complex Visual Studio .NET 2010-like interface with it and it is hard to tell the difference between the two when I am using it!
Now my question: My application has a dialog box to remove assembly references from my "code project". When I do this, I would like the Intelliprompt for this assembly to immediately disappear. How can I do this?
Note: I am able to make the Intelliprompt disappear once the application is restarted by doing the following, but I want it to work without the application having to be restarted every time.
////////////////////////////////////////////////////////////////////
/// My "Intelliprompt Disappear on Application Restart" Solution ///
////////////////////////////////////////////////////////////////////
#1. When I press the "Remove Assembly Reference" button, I call this line of code:
_dotNetProjectResolver.RemoveExternalReference(myAssemblyReferenceFilePath);
#2. Then, on application close, I call:
SemanticParserService.Stop();
_dotNetProjectResolver.Dispose();
_dotNetProjectResolver.PruneCache();
#3. Then, on Application Start, I load up all the assemblies that are still in the my list (not the one I just removed) by calling:
_dotNetProjectResolver.AddExternalReference(myAssemblyReferenceFilePath);
////////////////////////////////////////////////////////////////////
Thanks is advance for any help!
Brook
First off, let me say what a FANTASTIC component the ActiPro Syntax Editor for Winforms with the .NET Languages Add-On is. I've made a complex Visual Studio .NET 2010-like interface with it and it is hard to tell the difference between the two when I am using it!
Now my question: My application has a dialog box to remove assembly references from my "code project". When I do this, I would like the Intelliprompt for this assembly to immediately disappear. How can I do this?
Note: I am able to make the Intelliprompt disappear once the application is restarted by doing the following, but I want it to work without the application having to be restarted every time.
////////////////////////////////////////////////////////////////////
/// My "Intelliprompt Disappear on Application Restart" Solution ///
////////////////////////////////////////////////////////////////////
#1. When I press the "Remove Assembly Reference" button, I call this line of code:
_dotNetProjectResolver.RemoveExternalReference(myAssemblyReferenceFilePath);
#2. Then, on application close, I call:
SemanticParserService.Stop();
_dotNetProjectResolver.Dispose();
_dotNetProjectResolver.PruneCache();
#3. Then, on Application Start, I load up all the assemblies that are still in the my list (not the one I just removed) by calling:
_dotNetProjectResolver.AddExternalReference(myAssemblyReferenceFilePath);
////////////////////////////////////////////////////////////////////
Thanks is advance for any help!
Brook