Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert color from RGB to Color name Pin
Luc Pattyn14-Oct-10 3:59
sitebuilderLuc Pattyn14-Oct-10 3:59 
AnswerRe: Convert color from RGB to Color name Pin
W Balboos, GHB14-Oct-10 9:38
W Balboos, GHB14-Oct-10 9:38 
GeneralRe: Convert color from RGB to Color name Pin
Keith Barrow14-Oct-10 13:00
professionalKeith Barrow14-Oct-10 13:00 
GeneralRe: Convert color from RGB to Color name Pin
PIEBALDconsult14-Oct-10 16:49
mvePIEBALDconsult14-Oct-10 16:49 
GeneralRe: Convert color from RGB to Color name Pin
W Balboos, GHB15-Oct-10 4:46
W Balboos, GHB15-Oct-10 4:46 
GeneralRe: Convert color from RGB to Color name Pin
W Balboos, GHB15-Oct-10 4:35
W Balboos, GHB15-Oct-10 4:35 
GeneralRe: Convert color from RGB to Color name Pin
Keith Barrow16-Oct-10 3:40
professionalKeith Barrow16-Oct-10 3:40 
QuestionMEF never calls OnImportsSatisfied Pin
WebMaster13-Oct-10 23:49
WebMaster13-Oct-10 23:49 
Hello,

I am having trouble using MEF to implement programming language packages into my IDE.

My classes in the Moonlite.Languages.DynamicLoading project (in the Implementation namespace) - LanguagePackageLoader, TextEditorCodeCompletionProviderLoader and TextEditorLanguageBindingLoader - their OnImportsSatisfied methods never get called.

I can't see what I'm doing wrong - I have my interfaces that my packages inherit, and the classes that inherit the interfaces export themselves using the correct contract names.

I have two CompositionContainers - one that I use in my Program class that is used to find dialog window extensions, and one that I use in my CompositionInitializer class that is used for the language packages. The first CompositionContainer also loads the assemblies that are supposed to be loaded and used by the second one, and creates parts for them - could this be the problem?

The files you want to look at are the following:

http://code.google.com/p/moonlite-map-studio/source/browse/trunk/moonlite-map-studio/Moonlite/Program.cs

http://code.google.com/p/moonlite-map-studio/source/browse/trunk/moonlite-map-studio/Moonlite/Shell.cs

http://code.google.com/p/moonlite-map-studio/source/browse/#svn/trunk/moonlite-map-studio/Moonlite.Languages.DynamicLoading - that is the whole project that contains the dynamic language package loading.

Language package .dlls:

http://code.google.com/p/moonlite-map-studio/source/browse/#svn/trunk/moonlite-map-studio/Moonlite.Languages.Packages.Andromeda

http://code.google.com/p/moonlite-map-studio/source/browse/#svn/trunk/moonlite-map-studio/Moonlite.Languages.Packages.vJass

Any help is appreciated.
Thanks,
Theo
AnswerRe: MEF never calls OnImportsSatisfied Pin
Not Active14-Oct-10 0:13
mentorNot Active14-Oct-10 0:13 
GeneralRe: MEF never calls OnImportsSatisfied Pin
WebMaster14-Oct-10 2:38
WebMaster14-Oct-10 2:38 
GeneralRe: MEF never calls OnImportsSatisfied Pin
Not Active14-Oct-10 3:16
mentorNot Active14-Oct-10 3:16 
QuestionI Used BulkCopy to transfer data One to another DB, moreover i like to know any other mathods... Pin
Manish_Kumar_Nayak13-Oct-10 23:43
Manish_Kumar_Nayak13-Oct-10 23:43 
AnswerRe: I Used BulkCopy to transfer data One to another DB, moreover i like to know any other mathods... Pin
PIEBALDconsult14-Oct-10 3:13
mvePIEBALDconsult14-Oct-10 3:13 
QuestionUnwanted relation: variable-object Pin
memk113-Oct-10 21:34
memk113-Oct-10 21:34 
AnswerRe: Unwanted relation: variable-object Pin
Sauro Viti13-Oct-10 21:46
professionalSauro Viti13-Oct-10 21:46 
GeneralRe: Unwanted relation: variable-object Pin
memk114-Oct-10 10:21
memk114-Oct-10 10:21 
QuestionMemory Leak using Flash.... Pin
jbradshaw13-Oct-10 8:59
jbradshaw13-Oct-10 8:59 
AnswerRe: Memory Leak using Flash.... Pin
Pete O'Hanlon13-Oct-10 9:46
mvePete O'Hanlon13-Oct-10 9:46 
GeneralRe: Memory Leak using Flash.... Pin
jbradshaw13-Oct-10 10:32
jbradshaw13-Oct-10 10:32 
GeneralRe: Memory Leak using Flash.... Pin
Pete O'Hanlon13-Oct-10 10:39
mvePete O'Hanlon13-Oct-10 10:39 
GeneralRe: Memory Leak using Flash.... Pin
jbradshaw13-Oct-10 10:45
jbradshaw13-Oct-10 10:45 
GeneralRe: Memory Leak using Flash.... Pin
Pete O'Hanlon13-Oct-10 11:32
mvePete O'Hanlon13-Oct-10 11:32 
QuestionRe: Memory Leak using Flash.... Pin
jbradshaw1-Dec-10 7:29
jbradshaw1-Dec-10 7:29 
Questionwindows service suspend and continue option Pin
fracalifa13-Oct-10 7:05
fracalifa13-Oct-10 7:05 
AnswerRe: windows service suspend and continue option Pin
PIEBALDconsult13-Oct-10 17:49
mvePIEBALDconsult13-Oct-10 17:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.