web.config与我的项目 [英] web.config vs. My Project

查看:80
本文介绍了web.config与我的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用VS2008创建新的VB Web应用程序项目时,有几个

设置(编译器设置,选项严格等)出现在

Web中。配置文件和我的项目。我想知道先例是什么,使用一个与另一个的好处是什么,以及如果它们发生冲突会发生什么?

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?

推荐答案

" My Project"是设置您的首选项的方式,而不是

进入配置文件并手动编辑它们。你不应该为
进入web.config来设置严格的选项,因为你可以在My Project的拨号游戏中使用



我不认为你可以发生冲突,因为对于
web.config和My Project中的内容,将设置更改为一个将导致

改变另一方。

MCM < MC*@newsgroup.nospamwrote in message

新闻:A9 ***************************** ***** @ microsof t.com ...
"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" <MC*@newsgroup.nospamwrote in message
news:A9**********************************@microsof t.com...

使用VS2008创建新的VB Web应用程序项目时,有

几个

设置(编译器设置,选项严格等),它们出现在

web.config文件和我的项目中。我想知道先例是什么,使用一个与另一个的好处是什么,以及如果他们发生冲突会发生什么?
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?



这是不正确的。我同意My Project是一种编辑

配置文件的方法,但不是web.config。检查自己。也许它编辑了

app.config?这是有道理的。


" Scott M."写道:
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"是设置您的首选项的方式,而不是

进入配置文件并手动编辑它们。你不应该为
进入web.config来设置严格的选项,因为你可以在My Project的拨号游戏中使用



我不认为你可以发生冲突,因为对于
web.config和My Project中的内容,将设置更改为一个将导致

改变另一方。


" MCM" < MC*@newsgroup.nospamwrote in message

新闻:A9 ***************************** ***** @ microsof t.com ...
"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" <MC*@newsgroup.nospamwrote in message
news:A9**********************************@microsof t.com...

使用VS2008创建新的VB Web应用程序项目时,有

几个

设置(编译器设置,选项严格等),它们出现在

web.config文件和我的项目中。我想知道先例是什么,使用一个与另一个的好处是什么,以及如果他们发生冲突会发生什么?
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?






尝试


这就是我们所需要的也好。


Cor


" MCM" < MC*@newsgroup.nospamschreef在bericht

新闻:A9 ***************************** ***** @ microsof t.com ...
Try

That is what we have to do too.

Cor

"MCM" <MC*@newsgroup.nospamschreef in bericht
news:A9**********************************@microsof t.com...

使用VS2008创建新的VB Web应用程序项目时,有

几个

设置(编译器设置,选项严格等),它们出现在

web.config文件和我的项目中。我想知道先例是什么,使用一个与另一个的好处是什么,以及如果他们发生冲突会发生什么?
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?


这篇关于web.config与我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆