Where Is Machine.Config?

2019-01-01 03:00发布

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

8条回答
倾城一夜雪
2楼-- · 2019-01-01 03:49

C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG

查看更多
零度萤火
3楼-- · 2019-01-01 03:54

You can run this in powershell: copy & paste in power shell [System.Runtime.InteropServices.RuntimeEnvironment]::SystemConfigurationFile

mine output is: C:\Windows\Microsoft.NET\Framework\v2.0.50527\config\machine.config

查看更多
登录 后发表回答