Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miyabis/appconfigtransform
By converting the "App. *. Config" and "log4net. *. Config" files according to the configuration at the time of build, copy it to the output folder
https://github.com/miyabis/appconfigtransform
c-sharp nuget vb
Last synced: about 2 months ago
JSON representation
By converting the "App. *. Config" and "log4net. *. Config" files according to the configuration at the time of build, copy it to the output folder
- Host: GitHub
- URL: https://github.com/miyabis/appconfigtransform
- Owner: miyabis
- License: ms-pl
- Created: 2015-09-20T18:10:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T11:01:41.000Z (over 7 years ago)
- Last Synced: 2024-10-11T19:25:15.882Z (4 months ago)
- Topics: c-sharp, nuget, vb
- Language: PowerShell
- Homepage:
- Size: 487 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# AppConfigTransform
[![Build status](https://ci.appveyor.com/api/projects/status/v3xhi90glw6kw351?svg=true)](https://ci.appveyor.com/project/miyabis/appconfigtransform)
[![NuGet](https://img.shields.io/nuget/v/MiYABiS.AppConfigTransform.svg)](https://www.nuget.org/packages/MiYABiS.AppConfigTransform/)App.Config, log4net.config Transform.
In advance, App.Debug.config, App.Main.config, App.Hotfix.config, App.Release.config,
log4net.Debug.config, log4net.Main.config, log4net.Hotfix.config, log4net.Release.config is available.
log4net.config file will be included in the clickonce publish.How to get
==========URL:https://www.nuget.org/packages/MiYABiS.AppConfigTransform/
```
PM> Install-Package MiYABiS.AppConfigTransform
```log4net.config setting
==========When you use , please install the log4net from nuget.
C#:Properties\AppConfigTransformAssemblyInfo.cs file Please cancel comment.
```
[assembly: log4net.Config.XmlConfigurator(ConfigFile=@"log4net.config", Watch=true)]
```VB:My Project\AppConfigTransformAssemblyInfo.vb file Please cancel comment.
```
```
App.config Section Protection setting
==========When you use , please install the [Moca.NETConfiguration](https://github.com/mocanet/MocaConfiguration) from nuget.
C#:add Assembly property.
```
[assembly: Moca.Configuration.SectionProtection(Moca.Configuration.ProtectionProviderType.DPAPI, "Section Name")]
```VB:add Assembly property.
```
```Protection Provider Type DPAPI or RSA.
Program Startup execute method.
```
Moca.Configuration.SectionProtector.Protect()
```License
=======Microsoft Public License (MS-PL)
http://opensource.org/licenses/MS-PL