471,570 Members | 906 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 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 2965
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by ALI-R | last post: by
2 posts views Thread by Craig | last post: by
1 post views Thread by Walter W | last post: by
2 posts views Thread by Keith Elder | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

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.