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 isn't a release
mode available. The configuration drop down only has debug in it. I
attempted to add a new mode, called Release, but that didn't seem to
help. Have I done something wrong? How come I don't see a Release
mode? I have changed the debug setting to false in my web.config file,
thinking maybe that would help, but no luck.
Any ideas?
Thanks in advance for any help!
Donna 4 2224
"Donna" <do*************@keybank.com> wrote in message
news:11*********************@c74g2000cwc.googlegro ups.com...
Hi Donna, 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 isn't a release mode available. The configuration drop down only has debug in it. I attempted to add a new mode, called Release, but that didn't seem to help. Have I done something wrong? How come I don't see a Release mode? I have changed the debug setting to false in my web.config file, thinking maybe that would help, but no luck.
Any ideas?
Do yourself a *HUGE* favour and download and install the Web Deployment
Projects add-on: http://www.google.com/search?sourcei...ent+Project%22
It contains all the great stuff from v1.1 which Microsoft, er, removed from
v2 but were forced to put back due to pressure from various places...
Apart from Debug / Release mode, it offers the ability to maintain separate
sections of web.config for development, UAT, production etc which is just
wonderful!
Mark
Thank you Mark! That's exactly what I needed. I found that add-in,
plus some additional useful info at this url: http://msdn.microsoft.com/asp.net/re...structure/wap/
Mark Rae wrote: "Donna" <do*************@keybank.com> wrote in message news:11*********************@c74g2000cwc.googlegro ups.com...
Hi Donna,
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 isn't a release mode available. The configuration drop down only has debug in it. I attempted to add a new mode, called Release, but that didn't seem to help. Have I done something wrong? How come I don't see a Release mode? I have changed the debug setting to false in my web.config file, thinking maybe that would help, but no luck.
Any ideas?
Do yourself a *HUGE* favour and download and install the Web Deployment Projects add-on: http://www.google.com/search?sourcei...ent+Project%22
It contains all the great stuff from v1.1 which Microsoft, er, removed from v2 but were forced to put back due to pressure from various places...
Apart from Debug / Release mode, it offers the ability to maintain separate sections of web.config for development, UAT, production etc which is just wonderful!
Mark
"Donna" <do*************@keybank.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com... Thank you Mark! That's exactly what I needed.
It's been a while since a woman said that to me...
Ahem... :-)
The reason that there is no release option in configuration manager is
that this setting is not used for web projects. Instead it's the debug
setting in web.config that decides the mode. Setting it to "false" makes
the project compile in release mode.
(Just to clarify the reason for the missing option, and that the
deployment project isn't neccesarily needed to make it work.)
Donna wrote: 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 isn't a release mode available. The configuration drop down only has debug in it. I attempted to add a new mode, called Release, but that didn't seem to help. Have I done something wrong? How come I don't see a Release mode? I have changed the debug setting to false in my web.config file, thinking maybe that would help, but no luck.
Any ideas?
Thanks in advance for any help!
Donna This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ss |
last post by:
Hi
I built an exe in console debug mode & Release mode . The console
debug mode -exe works fine ...but the release mode EXE starts well but
fails mid way .
The exe is being started as a...
|
by: Jerry |
last post by:
I have an SDI document that runs fine in Debug Mode but crashes in Release Mode. I have set up my project so I can debug in Release Mode. The project has a tab view
Here is what is happening
...
|
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...
|
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:...
|
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...
|
by: Bob Johnson |
last post by:
It is my understanding - and please correct me if I'm wrong - that when
building a project in debug mode, I can deploy the .pdb file along with the
..exe and thereby have access to the specific...
|
by: Dave Johansen |
last post by:
I just converted a solution from Visual Studio 2003 to Visual Studio
2005 and the Debug mode seems to be running just fine, but the Release
mode crashes on the following code:
std::ifstream...
|
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:
|
by: =?Utf-8?B?bG10dGFn?= |
last post by:
We have developed a number of different applications (ASP.NET web site,
Windows services, DLLs, Windows forms, etc.) in C# 2.0. We have developed
and unit tested all these applications/components...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
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...
|
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...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
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...
|
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)...
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |