I need to run a .net application c# or preferably VB that will just perform a given task then close itself.
This app will receive arguments from the command line, process calculations, write result text to a file and then end.
Currently I run it as a console app, therefore the user can see the console black window and then the windoiw vanishes.
How can I get rid of the visual element?
Also, once the project is compiled, how can I include it within another solution so that both projects will be published together with clickOnce?
I need two separate projects in the same solution because one of them (the silent one) must run in x86 mode and the other as x64.