sej69
asked on
C# Development process question; multiple app files (visual studio)
This is more of a process question in relation to deploying an app.
I created the main app file that runs from a command prompt. I'd like to add in a couple of more application files to the overall product incluing an interface component. I don't see an obvious way to add additional programs into the C# interface to compile multiple targets from one project. What is the process for doing this? Do I create a project for each application component?
Thanks much.
I created the main app file that runs from a command prompt. I'd like to add in a couple of more application files to the overall product incluing an interface component. I don't see an obvious way to add additional programs into the C# interface to compile multiple targets from one project. What is the process for doing this? Do I create a project for each application component?
Thanks much.
Yes. For a common design goal, you should have one solution file with one or many projects. Once you have a finished solution, you can choose (Re)Build Solution from the Build menu to build all the projects at one time.
You can write your MSBuild script to build your application as you wish to
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've been playing around with the publish menu but I can't seem to get a good publish so I'm not understanding something completely...
In the project I have 2 command line programs and a user interface. With the program I want to distribute a .SQL file and a few other misc. files.
I've selected CDROM for deployment and it says it successfully created the deployment.
However, I copied that folder to my test box to install it then run the setup.exe that was created. The program just runs; it doesn't install. I see the config file but it's in pre-run form.[appname].exe.config. deploy. It also seems to want to have all my build directories to go along with it in the "Application Files" folder called [appname]_1_0_0_0, [appname]_1_0_0_1, etc...
In the project I have 2 command line programs and a user interface. With the program I want to distribute a .SQL file and a few other misc. files.
I've selected CDROM for deployment and it says it successfully created the deployment.
However, I copied that folder to my test box to install it then run the setup.exe that was created. The program just runs; it doesn't install. I see the config file but it's in pre-run form.[appname].exe.config.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, I think I see what's going on... However I'm using the Express version to see if I like this language and the Express version does not come with the setup wizard project type. I guess I'll have to bite the bullet and buy the full blown version. THanks!
ASKER
Thanks; the language is easy to learn but some of the required concepts are not easily found out there.