Newbie question

  • Thread starter Thread starter smakhijani
  • Start date Start date
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?
 
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.
 
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
 
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
 
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
 
Back
Top