Machine.Config 在哪里? [英] Where Is Machine.Config?

查看:30
本文介绍了Machine.Config 在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想应用更改以便我可以为我的 C# 3.5 应用程序使用服务器 GC 设置 - 我可以通过编辑 machine.config 文件来实现.

I want to apply a change so That I can use Server GC settings for my C# 3.5 app - I can do that by editing the machine.config file.

唯一的问题是我不知道那在哪里.

The only problem is I do not know where that is.

如何在多台不同的机器上以可重复的方式找到这个文件的路径

How can I find the path of this file in a repeatable way across a number of different machines

推荐答案

32-bit

%windir%Microsoft.NETFramework[version]configmachine.config

64 位

%windir%Microsoft.NETFramework64[version]configmachine.config 

[version] 应等于 v1.0.3705v1.1.4322v2.0.50727v4.0.30319.

v3.0v3.5 只包含附加到 v2.0.50727 的程序集,所以应该没有 configmachine.config.v4.5.xv4.6.x 存储在 v4.0.30319 中.

v3.0 and v3.5 just contain additional assemblies to v2.0.50727 so there should be no configmachine.config. v4.5.x and v4.6.x are stored inside v4.0.30319.

这篇关于Machine.Config 在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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