No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.config 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. </configSections>
  5. <connectionStrings>
  6. <add name="HX_PGS_ERP_SYS.My.MySettings.連線字串" connectionString="Data Source=192.168.10.5;Initial Catalog=HX-GPS-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=0911274990" providerName="System.Data.SqlClient" />
  7. <add name="HX_PGS_ERP_SYS.My.MySettings.設定" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\bin\Debug\HabitData.mdb;Persist Security Info=True" providerName="System.Data.OleDb" />
  8. </connectionStrings>
  9. <system.diagnostics>
  10. <sources>
  11. <!-- 這個區段定義 My.Application.Log 的記錄組態-->
  12. <source name="DefaultSource" switchName="DefaultSwitch">
  13. <listeners>
  14. <add name="FileLog" />
  15. <!-- 取消註解下列區段,以寫入應用程式事件記錄檔-->
  16. <!--<add name="EventLog"/>-->
  17. </listeners>
  18. </source>
  19. </sources>
  20. <switches>
  21. <add name="DefaultSwitch" value="Information" />
  22. </switches>
  23. <sharedListeners>
  24. <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
  25. <!-- 取消註解下列區段,並將 APPLICATION_NAME 取代成您的應用程式名稱,以寫入至應用程式事件記錄檔-->
  26. <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
  27. </sharedListeners>
  28. </system.diagnostics>
  29. <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
  30. <runtime>
  31. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  32. <dependentAssembly>
  33. <assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  34. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  35. </dependentAssembly>
  36. <dependentAssembly>
  37. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  38. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  39. </dependentAssembly>
  40. </assemblyBinding>
  41. </runtime>
  42. </configuration>