473,326 Members | 2,126 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,326 software developers and data experts.

Web Deployment Project Questions

Hi,

I have been using a web deployment project with Visual Studio 2008
Standard Edition to deploy a website. There are a couple of settings
which aren't working exactly as I expected and was wondering if anyone
on the list has more info.

First, I'm trying to use the Web.config file section replacements
feature to replace a custom section in my config file. The project
can replace the appsettings and connectionstrings sections just fine,
but I get an error when I try to replace my custom section. Do web
deployment projects support replacing sections other than appsettings
and connectionstrings? My custom section looks like this:

<customSection>
<add customKey foo="bar">
<childElements>
<add key="foo" value="bar" />
</childElements>
</add>
</customSection>

Second, in the compilation section my release configuration I have
unchecked 'generate debug information,' but am still getting .pdb
files generated. I've also looked at the xml file and made sure
DebugType is set to none. Why are the .pdb files still getting
created? Is there any way to stop them from being built?

Thanks,
Justin
Jun 27 '08 #1
1 1256
I can give info on question 2:

If you go into the IDE and set debug info to none (which is what shows up in
the XML), it should not create the PDB. By default, the PDB is created, but
no other debug information, with release.

I keep it at this setting and put the PDBs in a different location. If I
need to stoke them up to figure out a problem, they are there. If you
absolutely do not want them, try going into the IDE and check the properties
for your projects. Under Release, click the advanced button and make sure it
is set to none.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Justin Friel" <jm******@gmail.comwrote in message
news:83**********************************@e53g2000 hsa.googlegroups.com...
Hi,

I have been using a web deployment project with Visual Studio 2008
Standard Edition to deploy a website. There are a couple of settings
which aren't working exactly as I expected and was wondering if anyone
on the list has more info.

First, I'm trying to use the Web.config file section replacements
feature to replace a custom section in my config file. The project
can replace the appsettings and connectionstrings sections just fine,
but I get an error when I try to replace my custom section. Do web
deployment projects support replacing sections other than appsettings
and connectionstrings? My custom section looks like this:

<customSection>
<add customKey foo="bar">
<childElements>
<add key="foo" value="bar" />
</childElements>
</add>
</customSection>

Second, in the compilation section my release configuration I have
unchecked 'generate debug information,' but am still getting .pdb
files generated. I've also looked at the xml file and made sure
DebugType is set to none. Why are the .pdb files still getting
created? Is there any way to stop them from being built?

Thanks,
Justin
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave Wendleton | last post by:
We are developing ASP.Net apps. We would like to use the Deployment project to create MSI files that would be installed on to the production servers. This will allow us to have our operations...
2
by: ksskumar | last post by:
Hi Friends, My software's target is to creating a add-in for Outlook. I am struckup of creating deployment of my software. My software flow is as follows, 1. Complete functionality is...
0
by: Jony Joe | last post by:
Dear All; I am now making a deployment package using the .net deployment setup project. It is a desktop application that its solution contains 7 projects that generate DLLs and EXEs...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
1
by: Pete Griffint | last post by:
Howdy, I'm finding the Windows Installer documentation a bit baffling, so here are a couple of questions. (1) I want to have a "Path" key in my app's settings in the registry which is set at...
1
by: webfitz | last post by:
I just wanted to hear some ideas and what some have done on this. I'm having a problem deciding how to build or setup our application. This will be an application for our entire company of 700...
1
by: dave | last post by:
I have two questions regarding a VB.NET deployment project. 1) During an install, I would like any previous versions of the application to be uninstalled automatically. Currently, I have to...
0
by: Andrew E Chapman | last post by:
I've just started using VB.NET, so the following two questions are probably going to seem ludicrous, but... 1). When some items are added to a project, how exactly are they used? For example, if...
11
by: Thom Little | last post by:
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it...
4
by: Zany | last post by:
I added a Web Deployment Project so I can create a debug, staging, and release version. Each set is compiled and saved in a separate folder under the csproj_deploy folder. All works fine. Here's...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
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...
0
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...
0
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
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)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
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
0
isladogs
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...

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.