473,407 Members | 2,359 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,407 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 1521
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
3
by: Haldun ALIML | last post by:
Suppose that you have below property in some class, #if DEBUG public string DebugInfo { get { return "INDEX : " + _name + "\n" + "Index Owner : " + _owner.Name + "\n" + "Index Column Count:...
4
by: Donna | last post by:
I am attempting to build a web service in .NET 2.0, using Visual Studio 2005. I am able to build it in debug mode, but for deployment, I want to change to release mode. The problem is that there...
7
by: news.microsoft.com | last post by:
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error: Command line error BC2014: the value 'None' is invalid for option 'debug'. If I...
0
by: =?Utf-8?B?SmVmLnB0Yw==?= | last post by:
Hi, I am currently facing exactly the same issue with Visual Studio 2005. Did you find a way to solve this problem ? "AntonioSACE" wrote:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.