Skip to content

CreateModuleCatalog() in PrismBootstrapper - Error: Unable to cast transparent proxy to type 'InnerModuleInfoLoader' #2580

Answered by melsawy93
melsawy93 asked this question in WPF
Discussion options

You must be logged in to vote

Anyone facing same issue: I had to used ConfigureModuleCatalog() instead of CreateModuleCatalog(). I have yet to know why CreateModuleCatalog() wasnt working for me.

Final code:

`        protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog)

        {
            moduleCatalog.AddModule(typeof(LCombGeneratorModule));
        }
`

Edit: thanks to Brian's help.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@melsawy93
Comment options

@brianlagunas
Comment options

@melsawy93
Comment options

@brianlagunas
Comment options

@melsawy93
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by melsawy93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
WPF
Labels
None yet
2 participants