PC Review


Reply
Thread Tools Rate Thread

configSource and Intellisense - is it possible?

 
 
SeeSharp
Guest
Posts: n/a
 
      25th Aug 2006
..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?

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      25th Aug 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> .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?
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid Postpack and ConfigSource file is also used in a parent.... Mr.Magic Microsoft ASP .NET 1 29th Oct 2009 06:30 PM
configSource option in web.config =?Utf-8?B?bGY=?= Microsoft Dot NET Framework 2 31st May 2007 04:15 PM
configsource on system.serviceModel section =?Utf-8?B?a3Nlbg==?= Microsoft ASP .NET 0 28th Mar 2007 02:51 AM
Error using configSource attribute. Abhi Microsoft C# .NET 1 25th Dec 2006 04:21 PM
Newbie Question About Using configSource in web.config jdp Microsoft ASP .NET 2 6th Oct 2006 01:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:35 AM.