ASP.Net Machine.Config文件 [英] ASP.Net Machine.Config File
本文介绍了ASP.Net Machine.Config文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我删除了machine.config文件会怎样?
它试图找到我从他的项目中删除的参考.
c:\ windows \ microsoft.net \ framework \ v1.1.4322 \ Config \ machine.config
What happens if I delete a machine.config file?
It''s trying to find a reference that I eliminated fromt he project.
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
推荐答案
您无法删除machine.config文件,它在机器范围内的所有应用程序中使用.如果您不希望为应用程序设置特定的配置,则可以修改应用程序本身的配置文件.
You can''t delete the machine.config file, it is used by all applications machine wide. If you don''t want a particular configuration setting for an application you modify the config file the application itself.
为什么要删除它?
删除该文件是一种非常糟糕的做法.
Why do you delete it?
It''s a very bad practice, to delete this file..
只想在测试环境中执行此操作,因为程序试图链接到我从列表中排除的引用.程序.
Just wanting to do this in a test environment because the program is trying to link to a reference that I am excluding from the program.
这篇关于ASP.Net Machine.Config文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文