nunit-x86.exe.config 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="Windows-1252"?>
  2. <configuration>
  3. <!-- Do not remove. Sets up configsectionhandler section for log4net -->
  4. <configSections>
  5. <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
  6. </configSections>
  7. <!--
  8. Application settings for NUnit-gui.exe. Do NOT put settings
  9. for use by your tests here.
  10. -->
  11. <appSettings>
  12. <!--
  13. Specify the location to be used by .NET for the cache
  14. -->
  15. <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
  16. <!--
  17. Uncomment to specify the url to be used for help. If not used, the
  18. default value is something like
  19. file://localhost/C:/Program Files/NUnit 2.2/doc/index.html
  20. This setting is provided in case your default browser doesn't
  21. support this format.
  22. -->
  23. <!-- <add key="helpUrl" value="http://www.nunit.org" /> -->
  24. </appSettings>
  25. <!--
  26. The startup section may be used to specify the runtime versions
  27. supported in the order that they will be used if more than one
  28. is present. As supplied, this section is commented out, which
  29. causes nunit-console to use the version of the framework with
  30. which it was built.
  31. Since .NET 1.0 does not recognize the <supportedRuntime> elements,
  32. a <requiredRuntime> element is used in case it is the only version
  33. of the framework that is installed.
  34. -->
  35. <!--
  36. <startup>
  37. <supportedRuntime version="v2.0.50727" />
  38. <supportedRuntime version="v2.0.50215" />
  39. <supportedRuntime version="v2.0.40607" />
  40. <supportedRuntime version="v1.1.4322" />
  41. <supportedRuntime version="v1.0.3705" />
  42. <requiredRuntime version="v1.0.3705" />
  43. </startup>
  44. -->
  45. <!--
  46. Logging configuration for the NUnit Gui.
  47. NUnit internal logging is off by default. To enable logging,
  48. set the threshold attribute of the log4net element to "ALL".
  49. -->
  50. <log4net threshold="OFF">
  51. <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
  52. <layout type="log4net.Layout.PatternLayout">
  53. <param name="ConversionPattern" value="%date{ABSOLUTE} PID=%property{PID} %-5level [%4thread] %logger{1}: %message%newline" />
  54. </layout>
  55. </appender>
  56. <!--
  57. Temporarily commenting due to bug 1851572
  58. <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
  59. <param name="File" value="${APPDATA}/NUnit/NUnit.log" />
  60. <param name="AppendToFile" value="true" />
  61. <param name="MaxSizeRollBackups" value="5" />
  62. <param name="MaximumFileSize" value="500KB" />
  63. <param name="RollingStyle" value="Once" />
  64. <param name="StaticLogFileName" value="true" />
  65. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  66. <layout type="log4net.Layout.PatternLayout">
  67. <param name="ConversionPattern" value="%date{ABSOLUTE} PID=%property{PID} %-5level [%4thread] %logger{1}: %message%newline" />
  68. </layout>
  69. </appender>-->
  70. <!-- Setup the root category, add the appenders and set the default level -->
  71. <root>
  72. <!-- Only log messages with severity ERROR (or higher) -->
  73. <level value="ERROR" />
  74. <!--
  75. Uncomment the following appender line to log messages to
  76. the console. This has no effect unless you run the gui
  77. with the /console command-line option.
  78. Note that the console will not display log output from
  79. agent or server processes, whereas the NUnit.log file
  80. merges the output from all processes.
  81. -->
  82. <!--<appender-ref ref="ConsoleAppender" />-->
  83. <!--
  84. Uncomment the following appender line to log messaes to
  85. the NUnit.log file
  86. -->
  87. <!--<appender-ref ref="RollingLogFileAppender" />-->
  88. </root>
  89. <!-- Specify the level for internal NUNit logging -->
  90. <logger name="NUnit">
  91. <level value="Debug" />
  92. </logger>
  93. </log4net>
  94. <!--
  95. The following <runtime> section allows running nunit under
  96. .NET 1.0 by redirecting assemblies. The appliesTo attribute
  97. causes the section to be ignored except under .NET 1.0
  98. on a machine with only the .NET version 1.0 runtime installed.
  99. If application and its tests were built for .NET 1.1 you will
  100. also need to redirect system assemblies in the test config file
  101. just as we do for nunit.tests.dll.
  102. -->
  103. <runtime>
  104. <legacyUnhandledExceptionPolicy enabled="1" />
  105. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  106. <probing privatePath="addins"/>
  107. </assemblyBinding>
  108. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
  109. appliesTo="v1.0.3705">
  110. <dependentAssembly>
  111. <assemblyIdentity name="System"
  112. publicKeyToken="b77a5c561934e089"
  113. culture="neutral"/>
  114. <bindingRedirect oldVersion="1.0.5000.0"
  115. newVersion="1.0.3300.0"/>
  116. </dependentAssembly>
  117. <dependentAssembly>
  118. <assemblyIdentity name="System.Data"
  119. publicKeyToken="b77a5c561934e089"
  120. culture="neutral"/>
  121. <bindingRedirect oldVersion="1.0.5000.0"
  122. newVersion="1.0.3300.0"/>
  123. </dependentAssembly>
  124. <dependentAssembly>
  125. <assemblyIdentity name="System.Drawing"
  126. publicKeyToken="b03f5f7f11d50a3a"
  127. culture="neutral"/>
  128. <bindingRedirect oldVersion="1.0.5000.0"
  129. newVersion="1.0.3300.0"/>
  130. </dependentAssembly>
  131. <dependentAssembly>
  132. <assemblyIdentity name="System.Windows.Forms"
  133. publicKeyToken="b77a5c561934e089"
  134. culture="neutral"/>
  135. <bindingRedirect oldVersion="1.0.5000.0"
  136. newVersion="1.0.3300.0"/>
  137. </dependentAssembly>
  138. <dependentAssembly>
  139. <assemblyIdentity name="System.Xml"
  140. publicKeyToken="b77a5c561934e089"
  141. culture="neutral"/>
  142. <bindingRedirect oldVersion="1.0.5000.0"
  143. newVersion="1.0.3300.0"/>
  144. </dependentAssembly>
  145. </assemblyBinding>
  146. </runtime>
  147. </configuration>