Re: web.config vs. My Project

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



No, I'm sorry, but you are incorrect.

Perhaps you misunderstood what I said. I didn't say that we should never
have to edit web.config directly. My comments were about your particular
Option Strict, etc. settings. You should never have to go into web.config
to turn Option Strict (and various other settings) on or off, that is what
My Project dialogs are for and if you change it in one, it will be refelcted
in the other.

-Scott

"MCM" <MCM@xxxxxxxxxxxxxxxx> wrote in message
news:AD2A4EBA-F95F-4A53-AA21-17FD53A1E2EB@xxxxxxxxxxxxxxxx
That is incorrect. I agree that My Project is meant to be a method of
editing
config files, but not web.config. Check for yourself. Perhaps it edits
app.config? That would make sense.

"Scott M." wrote:

"My Project" is meant to be the way to set your preferences, rather than
going into configuration files and editing them manually. You shouldn't
ever have to go into web.config to set option strict because you can do
it
in the My Project dialgogs.

I don't think you can have a conflict because for things that are in
web.config and My Project, changing the setting in one will cause it to
change in the other.


"MCM" <MCM@xxxxxxxxxxxxxxxx> wrote in message
news:A93B7D92-5BC1-4622-9F02-C446FAD81331@xxxxxxxxxxxxxxxx
When creating a new VB Web Application Project with VS2008, there are
several
settings (compiler settings, option strict, etc) that appear both in
the
web.config file and "My Project". I'm wondering what takes precedent,
what
the benefit of using one vs. the other is, and what happens if they
conflict?





.



Relevant Pages

  • Re: app.config and user.config files
    ... a user of an application I have written would go hunt around with notepad ... values anyway - so it's not like I'm asking them to edit the registry ... It was this layer of protection provided by the Settings ... the fact that users get their own individual config files) to make it ...
    (microsoft.public.dotnet.framework)
  • Re: Can only edit first page
    ... That's because you copied the FP config files ... To find the best Newsgroup for FrontPage support see: ... I've made sure the settings of the www site and the copy are the same. ... | edit the copy, the FrontPage editors only get to edit the first page. ...
    (microsoft.public.frontpage.client)
  • Re: web.config vs. My Project
    ... "Scott M." wrote: ... option strict on in one, and it is NOT reflected in the other. ... Option Strict, etc. settings. ... config files, but not web.config. ...
    (microsoft.public.dotnet.general)
  • Re: web.config vs. My Project
    ... option strict on in one, and it is NOT reflected in the other. ... Option Strict, etc. settings. ... config files, but not web.config. ... I don't think you can have a conflict because for things that are in ...
    (microsoft.public.dotnet.general)
  • RE: Template and a custom column
    ... \par There is another possible reason why we cannot see the custom column in the New or Edit item page - the columns is hidden in Content Type. ... Click on Settings -> Lists Settings. ... \par Microsoft Global Technical Support Center ...
    (microsoft.public.sharepoint.portalserver)