473,326 Members | 2,124 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.

configSource and Intellisense - is it possible?

..NET 2.0 has a great feature where you can remove certain elements from
your web.config and put them in an external file. For example the
membership element has the configSource attribute and you can set it to
configSource="myconfigs\membership.config".

The only problem is that intellisense does not work in the external
file, presumably because the membership element is no longer in it's
place in the supported config schema (i.e. it is the root node).

So, is it possible to get intellisense working in this scenario?

Aug 25 '06 #1
1 1665
None that I know of. My method of setting up these files is to create in the
web.config and then migrate. It saves a lot of headaches. The web.config is
the last place you want typos. While I find Intellisense is a dual edged
sword, as it often hinders in code, it is a definite boon when dealing with
web.config.

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

*************************************************
Think outside of the box!
*************************************************
"SeeSharp" <en*********@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
.NET 2.0 has a great feature where you can remove certain elements from
your web.config and put them in an external file. For example the
membership element has the configSource attribute and you can set it to
configSource="myconfigs\membership.config".

The only problem is that intellisense does not work in the external
file, presumably because the membership element is no longer in it's
place in the supported config schema (i.e. it is the root node).

So, is it possible to get intellisense working in this scenario?

Aug 25 '06 #2

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

Similar topics

8
by: andrew.queisser | last post by:
Yesterday I typed in some C++ code that called a function with two ints. Intellisense (auto-complete) helpfully told me that the first formal parameter was called "frontLight" and the second...
0
by: Erik Tamminga | last post by:
Hi Microsoft, I think Intellisense is great, couldn't live without it anymore (well, if I have too ...). But I have one small "problem" with Intellisense. Somehow, I'm hitting Escape all day...
3
by: Don | last post by:
Hi: I want to limit the values that can be entered for particular attributes. 1) I have created an XSD from my XML document. 2) I dropped that XSD file into the following directory...
2
by: Don | last post by:
I'm having problems with intellisense, autocomplete, etc. suddenly not working in certain classes of a project I'm working on. All the options are set, and it all works fine for most classes, but...
12
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
1
by: Abhi | last post by:
I am using Cryptography application block and am trying to use configSource attribute to keep the config file as separate file. my Application configuration file has following entry ...
0
by: =?Utf-8?B?a3Nlbg==?= | last post by:
I am trying to use external config file for System.servicesModel using configSource attribute, I get following error. The attribute 'configsource' cannot be specified because its name starts...
3
by: Sukrity | last post by:
Hi, We are planning to bind assemblies to our application using the runtime element in the app.config file. However since we have more than one applications that will be using the shared...
5
by: dk60 | last post by:
I am using visual C++ .NET 2005 for programming in C++. despite the fact that my project contains a VC++ intellisense database, intellisense does not work. What could go wrong. IN the same...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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: 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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
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...
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.