473,320 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Add Config File to the Setup Project

Hi,

I have built a windows service in VS2005, C#.

I am curious about the proper way to add the WindowsService2.exe.config
to the setup project?

Right now I am adding a custom action to the Application folder for the
"Primary output from WindowsService2 (Active)"

However my WindowsService2.exe.config is not being installed to the
Application folder.

What is the correct procedure to ensure that the .config file gets
copied to the Application folder?

TIA!
-Aaron

Dec 31 '05 #1
4 3016
Have you setup an app.config file in the service project? I've never
done anything with the .exe.config file, it just shows up automatically
when the service is installed based on the contents of app.config.

steve.

Dec 31 '05 #2
Hmmm app.config seems to be missing. Any idea how to re-create it?

Thanks

Dec 31 '05 #3
On 31 Dec 2005 12:05:31 -0800, "Guy Noir" <ah******@gmail.com> wrote:
Hmmm app.config seems to be missing. Any idea how to re-create it?

Thanks


Right click on the project and click Add New Item, then choose
Application Configuration from the templates...
Jan 1 '06 #4
Got it, thanks!

Jan 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Darwin Fisk | last post by:
I have an app that is deployed that uses .config file settings. I have an update of that app that I am installing using a setup and deployment project. The basic setup process works fine. Now I...
9
by: ALI-R | last post by:
Hi,, I have two questions : 1) Is it mandatory that config file of a desktop application must be App.config 2) Is it possible to update config file in your code?? thanks for your help. ALI
2
by: Craig | last post by:
In development for a windows app, is it proper to manipulate and keep versions of the MyApp.exe.config or just the App.config file?
1
by: Walter W | last post by:
hi, i need to deploy two asp.net web projects which together form one single solution. these two projects will be installed in different virtual directories. i could create two setup...
8
by: Henry | last post by:
Hi, in a Windows form VB.Net project I use localization for all texts. In App.Config I added: <appSettings> <add key="locale" value="de"/> </appSettings> In the project I have ressource...
2
by: Keith Elder | last post by:
Let's say you have a stand alone C# library project that is your datalayer. When this library compiles it will produce "My.DataLayer.dll" for example. In the project you use all the new...
0
by: Gary McGill | last post by:
Hi, I have a setup project; one of the files that gets installed is a .config file. If a user modifies the .config file and then un-installs my app, I'd like the .config file to NOT get deleted...
5
by: MJB | last post by:
I have several dlls that have app.config files tied to them. When adding their primary output to a Setup project everything works fine, but only the app.config for the .exe gets added to the Setup...
3
by: zeenets | last post by:
Dear All, I make setup and deployment project in windows application. and use project primary output in setup. after installing on client machine my app.config file is...
4
by: pedro | last post by:
application cannot read the app.config file i have a config file for the executable i try to read it but it throws an exception when building the setup for the project vs2005 do not add the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.