Solution question?

  • Thread starter Thread starter jiangyh
  • Start date Start date
J

jiangyh

hi guys:

I have a task that need a windows application and a web applicition.That
windows application run in the client side and web application run in the
server side.

My question is can I add that two project in one solution.

regards jiangyh
thanks in advance.greetings.
 
Yes you can add multiple projects to a solution. But in
your case it doesnt make sense. In any solution, you cna
set only one project as the start up project. So, one of
your project always plays a supporting fiddle to the
other. Moreover, your projects are completely unrelated,
one is a web app and the other win app. You can not test
both the projects at once. Either Web App executes and
display a Webpage, or win app executes and display a win
form. Both cant be run at the same time. So, I suggest you
to create two separate solutions
 
jiangyh said:
hi guys:

I have a task that need a windows application and a web
applicition.That
windows application run in the client side and web application run in the
server side.

My question is can I add that two project in one solution.

Yes you can have multiple projects of different types in one solution. If
the Windows project and the Web project are different UI's for the same
application then putting them in the same solution makes sense. If each
project is really it's own application then you would generally put each one
in it's own solution.

SP
 
thanks Kumar Reddi:

If I have that tow project in one solution,how can I release the window
project to the customer client.

thank you very much.
jiangyh
 
You can easily start two projects that are in one solution. I do it all the
time for debugging client/server aps. Set one as the startup project and
start it normally. After it is running right click on the second project in
solution explorer and select debug/start new instance. That will fire up the
other one. This works with an ASP.NET and Windows Forms ap in the same
solution.

Thomas P. Skinner [MVP]
 
Its simpler to go to the properties of the solution and set multiple startup projects. You can control the order in which they start and whether they have the debugger attached or not.

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<[email protected]>

You can easily start two projects that are in one solution. I do it all the
time for debugging client/server aps. Set one as the startup project and
start it normally. After it is running right click on the second project in
solution explorer and select debug/start new instance. That will fire up the
other one. This works with an ASP.NET and Windows Forms ap in the same
solution.
 
Back
Top