nunit-console.exe.config 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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-console.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. </appSettings>
  17. <!--
  18. The startup section may be used to specify the runtime versions
  19. supported in the order that they will be used if more than one
  20. is present. As supplied, this section is commented out, which
  21. causes nunit-console to use the version of the framework with
  22. which it was built.
  23. Since .NET 1.0 does not recognize the <supportedRuntime> elements,
  24. a <requiredRuntime> element is used in case it is the only version
  25. of the framework that is installed.
  26. -->
  27. <!--
  28. <startup>
  29. <supportedRuntime version="v2.0.50727" />
  30. <supportedRuntime version="v2.0.50215" />
  31. <supportedRuntime version="v2.0.40607" />
  32. <supportedRuntime version="v1.1.4322" />
  33. <supportedRuntime version="v1.0.3705" />
  34. <requiredRuntime version="v1.0.3705" />
  35. </startup>
  36. -->
  37. <!--
  38. Logging configuration for nunit-console.
  39. NUnit internal logging is off by default. To enable logging,
  40. set the threshold attribute of the log4net element to "ALL".
  41. -->
  42. <log4net threshold="OFF">
  43. <!-- Writes log info to console -->
  44. <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
  45. <layout type="log4net.Layout.PatternLayout">
  46. <param name="ConversionPattern" value="%date{ABSOLUTE} PID=%property{PID} %-5level [%4thread] %logger{1}: %message%newline" />
  47. </layout>
  48. </appender>
  49. <!-- Writes log info to the NUnit common Log file -->
  50. <!--
  51. Temporarily commenting due to bug 1851572
  52. <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
  53. <param name="File" value="${APPDATA}\\NUnit\\NUnit.log" />
  54. <param name="AppendToFile" value="true" />
  55. <param name="MaxSizeRollBackups" value="5" />
  56. <param name="MaximumFileSize" value="500KB" />
  57. <param name="RollingStyle" value="Once" />
  58. <param name="StaticLogFileName" value="true" />
  59. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  60. <layout type="log4net.Layout.PatternLayout">
  61. <param name="ConversionPattern" value="%date{ABSOLUTE} PID=%property{PID} %-5level [%4thread] %logger{1}: %message%newline" />
  62. </layout>
  63. </appender>-->
  64. <!-- Setup the root category, add the appenders and set the default level -->
  65. <root>
  66. <!-- Only log messages with severity ERROR (or higher) -->
  67. <level value="ERROR" />
  68. <!--
  69. Uncomment the following appender line to log messages to
  70. the console.
  71. Note that the console will not display log output from
  72. agent or server processes, whereas the NUnit.log file
  73. merges the output from all processes.
  74. -->
  75. <!-- <appender-ref ref="ConsoleAppender" /> -->
  76. <!--
  77. Uncomment the following appender line to log messaes to
  78. the NUnit.log file
  79. -->
  80. <!--<appender-ref ref="RollingLogFileAppender" />-->
  81. </root>
  82. <!-- Specify the level for internal NUNit logging -->
  83. <logger name="NUnit">
  84. <level value="Error" />
  85. </logger>
  86. </log4net>
  87. <!--
  88. The following <runtime> section allows running nunit under
  89. .NET 1.0 by redirecting assemblies. The appliesTo attribute
  90. causes the section to be ignored except under .NET 1.0version 1
  91. on a machine with only the .NET version 1.0 runtime installed.
  92. If application and its tests were built for .NET 1.1 you will
  93. also need to redirect system assemblies in the test config file.
  94. -->
  95. <runtime>
  96. <legacyUnhandledExceptionPolicy enabled="1" />
  97. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
  98. appliesTo="v1.0.3705">
  99. <dependentAssembly>
  100. <assemblyIdentity name="System"
  101. publicKeyToken="b77a5c561934e089"
  102. culture="neutral"/>
  103. <bindingRedirect oldVersion="1.0.5000.0"
  104. newVersion="1.0.3300.0"/>
  105. </dependentAssembly>
  106. <dependentAssembly>
  107. <assemblyIdentity name="System.Data"
  108. publicKeyToken="b77a5c561934e089"
  109. culture="neutral"/>
  110. <bindingRedirect oldVersion="1.0.5000.0"
  111. newVersion="1.0.3300.0"/>
  112. </dependentAssembly>
  113. <dependentAssembly>
  114. <assemblyIdentity name="System.Drawing"
  115. publicKeyToken="b03f5f7f11d50a3a"
  116. culture="neutral"/>
  117. <bindingRedirect oldVersion="1.0.5000.0"
  118. newVersion="1.0.3300.0"/>
  119. </dependentAssembly>
  120. <dependentAssembly>
  121. <assemblyIdentity name="System.Windows.Forms"
  122. publicKeyToken="b77a5c561934e089"
  123. culture="neutral"/>
  124. <bindingRedirect oldVersion="1.0.5000.0"
  125. newVersion="1.0.3300.0"/>
  126. </dependentAssembly>
  127. <dependentAssembly>
  128. <assemblyIdentity name="System.Xml"
  129. publicKeyToken="b77a5c561934e089"
  130. culture="neutral"/>
  131. <bindingRedirect oldVersion="1.0.5000.0"
  132. newVersion="1.0.3300.0"/>
  133. </dependentAssembly>
  134. </assemblyBinding>
  135. </runtime>
  136. </configuration>