Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. multi-project solutions

multi-project solutions

Scheduled Pinned Locked Moved C#
csharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    B I Khan
    wrote on last edited by
    #1

    Hi, I have two seperate c# projects both working fine. I can see that .NET allows multiple projects in a single solution. Question is how do I run the other project from the default solution project at runtime (I am rather new to .NET) Thanks. BIK

    R 1 Reply Last reply
    0
    • B B I Khan

      Hi, I have two seperate c# projects both working fine. I can see that .NET allows multiple projects in a single solution. Question is how do I run the other project from the default solution project at runtime (I am rather new to .NET) Thanks. BIK

      R Offline
      R Offline
      ricardojb
      wrote on last edited by
      #2

      that depends on what you want to achieve. Usually, you will place more than one project in the same solution if they are related (not necessarily means they will run together), but many times, if you are developpig a multitier application, you will have for example your main project, which will generate an .exe (windows or console application) and some class libraries that will generate a .dll, you can run code from those class libraries by adding a reference to them to your main project (the .exe) and then, you can create instance of the classes, call methods, set properties. etc.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups