12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
- </configSections>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
- </startup>
- <connectionStrings>
- <add name="XMLFilePath" connectionString="Resources/XMLData/SystemData.XML" />
- <add name="LogAppPath" connectionString="OTSSysMgrApp" />
- <add name="LogPath" connectionString="OTSSysMgrApp_OTSControl" />
- <add name="XMLFileName" connectionString="Config/ProData/HardwareConfig.xml" />
- <add name="DLLXMLFileName" connectionString="Config/ProData/BrukerDllVersion.xml" />
- </connectionStrings>
- <nlog>
- <!-- optional, add some variables
- https://github.com/nlog/NLog/wiki/Configuration-file#variables
- -->
- <variable name="myvar" value="myvalue" />
- <!--
- See https://github.com/nlog/nlog/wiki/Configuration-file
- for information on customizing logging rules and outputs.
- -->
- <targets async="true">
- <target type="File" name="file" fileName="${basedir}/Log/Nlogs/OTS ${shortdate}.log" layout="${longdate} ${message}" />
- <target name="control" type="RichTextBox" controlName="richTextBox_Nlog" formName="OutputNlog" maxLines="10000" autoScroll="true" useDefaultRowColoringRules="true" layout="${longdate} ${message}" />
- </targets>
- <rules>
- <!-- add your logging rules here -->
- <logger name="*" minlevel="Trace" writeTo="control" />
- <logger name="*" minlevel="Trace" writeTo="File" />
- </rules>
- </nlog>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
-
- <probing privatePath="System;Common;OTSCPPDll;OxfordExtender1;Bruker;FEIAutoScript;DevExpress"/>
- <dependentAssembly>
- <assemblyIdentity name="SQLitePCLRaw.core" publicKeyToken="1488e028ca7ab535" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.7.1395" newVersion="2.0.7.1395" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="SQLitePCLRaw.provider.e_sqlite3" publicKeyToken="9c301db686d0bd12" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.7.1395" newVersion="2.0.7.1395" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <system.windows.forms jitDebugging="true" />
- </configuration>
|