Where is Release mode

I

INeedADip

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top