使用环境变量在.NET config文件环境变量、文件、NET、config

2023-09-03 16:15:04 作者:浅夏安然

我需要指定由装配在config文件中引用的DLL路径。 问题是,路径可以在env中找到。变量。 是否有可能使用某种%的DLLPath%宏的config文件?

I need to specify path to dlls referenced by assembly in .config file. Problem is that path can be found in env. variable. Is it possible to use some sort of %DLLPATH% macro in .config file?

推荐答案

请通过文章

http://learn.iis.net/page.aspx/241 /配置,可扩展性/

HTTP://www.$c$cproject。 COM / KB /安装/ assemblydeployment.aspx?显示=打印

那么,你可以实现你的想法。

then, you can implement your idea.

 
精彩推荐
图片推荐