Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deployment environment
Message
From
14/12/2009 10:01:20
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
14/12/2009 09:16:53
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01438925
Message ID:
01438934
Views:
49
>Hi,
>
>I am trying to undestand how an application/solution consisting of many projects is deployed.
>
>In my VS solution I have a bunch of projects. Each project has its own BIN folder where .DLL is created/built.
>
>Do I understand correctly that when I deploy the app on the customer server I simply create one folder (e.g. MyApplication) and one BIN folder (e.g. "MyApplication/BIN/")? And then I place/copy all of my DLL from various project BIN folders into this one BIN folder?
>
>And I understand that I should have one .EXE that will be in the MyApplication folder. Which one of the projects is built into the .EXE file?
>
>TIA.

Hi Dimitry,

If you add another project to your solution and pick the type as a Setup project. You can set properties, file structures, icons, shortcuts, etc on the setup project as well. After your solution is built to your satisfaction then set the mode to "Released" and build again. Now you can click on the setup project and build it. This will create an msi or other installer type that includes your exe plus all the other output such as dll files.

Alternatively you can just distribute the exe and all the individual dll files that would be placed into a single folder on the target machine. You would have to make sure the framework and other pre-requisites are met however. The setup project lets you do all of that within the setup.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform