Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 498707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:54:39+00:00 2026-05-13T05:54:39+00:00

I am creating a simple Prism 2.1 demo that uses the ‘directory search’ approach

  • 0

I am creating a simple Prism 2.1 demo that uses the ‘directory search’ approach to populating the module catalog. My shell is set up with a Windows Explorer UI; it has a Navigator region and a Workspace region. I have created a NavigatorModule and two workspace modules, WorkspaceAModule and WorkspaceBModule. I have declared a dependency from the NavigatorModule to the two workspace modules.

I am getting a ModularityException with the following message: “A module declared a dependency on another module which is not declared to be loaded. Missing module(s): WorkspaceBModule, WorkspaceAModule.” Neither of the workspace modules is load-on-demand, so I am not sure why I am getting this error. If I remove the dependencies from the NavigatorModule, the problem disappears.

Any thoughts or suggestions? Thanks.

Here is the Navigator:

[Module(ModuleName = "NavigatorModule")]
[ModuleDependency("WorkspaceAModule")]
[ModuleDependency("WorkspaceBModule")]
public class NavigatorModule : IModule
{
    ...
}

Here is WorkspaceA:

[Module(ModuleName = "WorkspaceAModule")]
public class WorkspaceAModule
{
    ...
}

And here is WorkspaceB:

[Module(ModuleName = "WorkspaceBModule")]
public class WorkspaceBModule
{
    ...
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:54:39+00:00Added an answer on May 13, 2026 at 5:54 am

    I found my answer. I had omitted the IModule interface from the workspace module class declarations (see workspace module declarations above). Adding the interface (see the NavigatorModule declaration above) solved the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am creating simple side menu, such that when the user hover on item
I'm creating simple application, some kind of portfolio. I've heard that it's better to
I'm creating a simple BizTalk 2010 process that will convert a 4010 835 file
I'm creating a simple Hack2 app, and I can read body data with: directory
I'm creating simple form validation that excludes any entries that have a letter in
I'm creating simple script to convert mp3 files using shell script. I decided to
I'm creating simple payment form that allows users to select from several different gateways
I am creating simple reports module by following this tutorial .When i try to
I am creating simple web-service client in Objective-C and found that creating separate class
A lot of time when creating simple events in my program that other classes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.