App.config 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
  5. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  6. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  7. </configSections>
  8. <startup>
  9. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
  10. </startup>
  11. <connectionStrings>
  12. <add name="XMLFilePath" connectionString="Resources/XMLData/SystemData.XML"/>
  13. <add name="LogAppPath" connectionString="Log\\Nlog"/>
  14. <add name="LogPath" connectionString="Log\\Nlog"/>
  15. <add name="XMLFileName" connectionString="Config/ProData/HardwareConfig.xml"/>
  16. </connectionStrings>
  17. <entityFramework>
  18. <providers>
  19. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
  20. <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"/>
  21. </providers>
  22. </entityFramework>
  23. <system.data>
  24. <DbProviderFactories>
  25. <remove invariant="System.Data.SQLite.EF6"/>
  26. <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6"/>
  27. <remove invariant="System.Data.SQLite"/><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/></DbProviderFactories>
  28. </system.data>
  29. <runtime>
  30. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  31. <dependentAssembly>
  32. <assemblyIdentity name="SQLitePCLRaw.core" publicKeyToken="1488e028ca7ab535" culture="neutral"/>
  33. <bindingRedirect oldVersion="0.0.0.0-2.0.7.1395" newVersion="2.0.7.1395"/>
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
  37. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="SQLitePCLRaw.provider.e_sqlite3" publicKeyToken="9c301db686d0bd12" culture="neutral"/>
  41. <bindingRedirect oldVersion="0.0.0.0-2.0.7.1395" newVersion="2.0.7.1395"/>
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
  45. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
  46. </dependentAssembly>
  47. </assemblyBinding>
  48. </runtime>
  49. </configuration>