Referencing a different project in the same assembly, different namespaces

Posted by Redburn on Stack Overflow See other posts from Stack Overflow or by Redburn
Published on 2010-06-14T20:16:06Z Indexed on 2010/06/14 20:42 UTC
Read the original article Hit count: 153

Filed under:
|
|
|
|

I have two projects : Menu and Module and they are both in the same namespace foobar.

I am currently referencing the module project from the Menu project to open up certain controls on a tab control in my menu. However I need to launch a new control from one of my controls which is located in the Module project.

When I try referencing the menu project, it does not show up in my intellisense when I try to reference it with a using. Am I doing something wrong logically here?

Here is an example of what it is :

Project Menu

Public Void LaunchWPFControl(string pHeader,string pPath)
{
     //Code goes here to launch a WPF control in the browser
}

Project Module

//What I would love to do but doesn't work
Using Menu;
...
...
...
private void dgModule_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
     Menu.LaunchWPFControl("Accounts","AccountsControl");
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf