Newbie question

S

smakhijani

Brand new to Windows/C# but have good J2EE experience I have multiple
projects ( Windows Forms ) each with their own namespaces that work
correctly on their own. I would now like to leverage these projects
within one project ( called MainConsole) - and I have imported the
projects using add existing projects

In the main class of the MainConsole - I am trying to import the
Namespace of one of the projects but it cannot find it. Do I have to
publish the child projects as DLLs and then import them into the
MainConsole project?
 
M

Morten Wennevik

Hi,

You need to reference the other projects before you can access their
namespace. Right-click on your main project and select Add Reference in
the context menu. In the reference dialog, select the Projects tab and
select the project you want to reference.
 
S

smakhijani

Morten-

Thanks - that solved the compliation issues. Now I am trying to publish
my project - for some reason it cannot locate the dll.deploy file for
each of the subprojects ( everything runs ok if I run it in debug mode
under VS ). Where do I configure the paths for the subprojects?

Thanks Again
Sunil
 
S

smakhijani

Morten-

Thanks - that solved the compliation issues. Now I am trying to publish
my project - for some reason it cannot locate the dll.deploy file for
each of the subprojects ( everything runs ok if I run it in debug mode
under VS ). Where do I configure the paths for the subprojects?

Thanks Again
Sunil
 
M

Morten Wennevik

The sub projects will be published along with your web application and
will be located in the bin folder.


Morten-

Thanks - that solved the compliation issues. Now I am trying to publish
my project - for some reason it cannot locate the dll.deploy file for
each of the subprojects ( everything runs ok if I run it in debug mode
under VS ). Where do I configure the paths for the subprojects?

Thanks Again
Sunil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top