471,306 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Where is Release mode

How do I compile things in release mode...
I have only done a web projects in Visual Studio 2005, and I go "Publish Web
Site" when it's time to release that.

But now I have created a Windows Service that I am ready to release. In the
2003 version I would just change the dropdown from "Debug" to "Release",
compile it, then use the installutil to install it. How do I do this in
2005? I keep getting all the debuggin files everytime I compile it... (
*.pdb files from my other libraries).
I tried the "Publish" option from the Build menu item, and it appears to
make an installation for the project, but when I run it, it just installs it
like a normal appliation and I get an error saying that the service isn't
installed.....

I just want the .exe and all .dll's without the .pdb's.
Any help would be appreciated.
Jan 11 '06 #1
1 1453
Add a Deployment Project to your solution (in Release configuration).
To install your service, you will need a custom action that runs
installutil /i yourservice.exe after installation.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"INeedADip" wrote:
How do I compile things in release mode...
I have only done a web projects in Visual Studio 2005, and I go "Publish Web
Site" when it's time to release that.

But now I have created a Windows Service that I am ready to release. In the
2003 version I would just change the dropdown from "Debug" to "Release",
compile it, then use the installutil to install it. How do I do this in
2005? I keep getting all the debuggin files everytime I compile it... (
*.pdb files from my other libraries).
I tried the "Publish" option from the Build menu item, and it appears to
make an installation for the project, but when I run it, it just installs it
like a normal appliation and I get an error saying that the service isn't
installed.....

I just want the .exe and all .dll's without the .pdb's.
Any help would be appreciated.

Jan 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Srinivasa Rao | last post: by
4 posts views Thread by Donna | last post: by
7 posts views Thread by news.microsoft.com | last post: by
reply views Thread by =?Utf-8?B?SmVmLnB0Yw==?= | last post: by
reply views Thread by rosydwin | 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.