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 connectionstrin gs 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 connectionstrin gs? My custom section looks like this:
<customSectio n>
<add customKey foo="bar">
<childElement s>
<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 1 1279
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******** *************** ***********@e53 g2000hsa.google groups.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 connectionstrin gs 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 connectionstrin gs? My custom section looks like this:
<customSectio n>
<add customKey foo="bar">
<childElement s>
<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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 department do installs at night
easily. The problem I have encountered is there seems to
be no way of targeting a specific site on the server. When
I try to install it will always go to the first site in
the list. Each site has a seperate IP and URL...
|
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 done in C# Class library project
In this .dll I am used the following COM components,
|
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 (executables). The solution generates 2 EXEs that use
the other generated Dlls.
I used the custom actions method to make the actions after taking some
|
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.1 -> MsiNetAssembly
Support.) I have a few issues and questions regarding the MSI and its
properties.
* This may be my biggest annoyance at the moment. When the installer creates
the target directory, it's setting them as read-only. When the...
|
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 install time with the path to which my app is installed.
I reckon I should be able to do this by the ordinary registry editor in
a deployment project in VS, by creating a string value and setting it to
some Windows Installer variable - anyone know...
| |
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 employees and we have several different departments and groups. After talking with one developer we thought it would be a bad move to develop the whole application as one project since everytime you had to make a change to something you would have to...
|
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
goto Control Panel - Add/Remove Programs and manually uninstall
previous versions. In the Properties of the deployment project I have
RemovePreviousVersions set to True. This doesn't seem to do the
trick.
2) During an install, I would like the...
|
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 a folder is added (or a text file), and then a deployment project
created for that project, the folder (or file) does not appear to be included
in the installation. It just seems to get left behind. I assume that these
items have to be added...
|
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 operates correctly.
Publish the second application to the root of the same remote webspace.
Permit it to overwrite existing files.
Call a page and notice that it waits forever.
|
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 the problem - I'm looking
for an *easy* way to upload (ftp) changed files.
I don't want to upload them all (huge upload), and don't want to have to it
manually by remembering what files have changed. I thought I had the
solution when I found a...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |