文件名称:多个cs-winform项目共用同一个app.config配置文件
文件大小:126KB
文件格式:RAR
更新时间:2020-11-22 02:13:55
cs-winform 共用同一个 app.config 配置文件
一个c#大项目下,有好几个小的cs程序子项目,net默认的配置文件是 程序a.exe.config、程序b.exe.config,这样一些本来可以共用的设置,就需要设置好多遍,不便于程序安装部署。 用了同一个配置文件,不让他们分散读了,都去读同一个app.config文件。
【文件预览】:
Form1.Designer.cs
Program.cs
Gs_Class.cs
FrmTest2.cs
obj
----Debug()
--------WindowsFormsApplication2.FrmTest2.resources(180B)
--------edmxResourcesToEmbed()
--------WindowsFormsApplication2.pdb(42KB)
--------WindowsFormsApplication2.exe(13KB)
--------WindowsFormsApplication1.csprojResolveAssemblyReference.cache(3KB)
--------WindowsFormsApplication2.csproj.GenerateResource.Cache(980B)
--------WindowsFormsApplication1.Properties.Resources.resources(180B)
--------DesignTimeResolveAssemblyReferencesInput.cache(7KB)
--------WindowsFormsApplication1.csproj.GenerateResource.Cache(977B)
--------WindowsFormsApplication1.Form1.resources(180B)
--------WindowsFormsApplication1.csproj.FileListAbsolute.txt(2KB)
--------WindowsFormsApplication2.Properties.Resources.resources(180B)
--------TempPE()
--------WindowsFormsApplication1.exe(17KB)
--------WindowsFormsApplication2.csproj.FileListAbsolute.txt(2KB)
--------WindowsFormsApplication2.csprojResolveAssemblyReference.cache(2KB)
--------DesignTimeResolveAssemblyReferences.cache(1021B)
--------WindowsFormsApplication1.pdb(38KB)
bin
----Release()
----Debug()
--------WindowsFormsApplication2.vshost.exe.config(2KB)
--------WindowsFormsApplication2.pdb(42KB)
--------app.config(2KB)
--------WindowsFormsApplication2.exe(13KB)
--------WindowsFormsApplication1.vshost.exe.manifest(490B)
--------WindowsFormsApplication1.vshost.exe(24KB)
--------WindowsFormsApplication1.exe(17KB)
--------WindowsFormsApplication2.vshost.exe(24KB)
--------WindowsFormsApplication2.exe.config(2KB)
--------sys.config(2KB)
--------WindowsFormsApplication1.pdb(38KB)
Form1.cs
DataSet1.xss
DataSet1.xsc
WindowsFormsApplication1.csproj
FrmTest2.Designer.cs
Form1.resx
测试配置文件.sln
App.config
Program2.cs
FrmTest2.resx
Model1.Designer.cs
Model1.edmx.diagram
测试配置文件.v12.suo
Model1.edmx
sys.config
Settings1.Designer.cs
DataSet1.Designer.cs
DataSet1.xsd
Properties
----AssemblyInfo.cs(1KB)
----Settings.Designer.cs(1KB)
----Resources.resx(5KB)
----Settings.settings(249B)
----Resources.Designer.cs(3KB)
WindowsFormsApplication2.csproj
Settings1.settings