<configuration>
	<configSections>
		<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
	</configSections>
	
	<!--
		
		WARNING!
		
		This file is automatically generated and will be overwritten every time SharpDevelop is compiled.
		Change the template file "app.template.config" instead!
		
	-->
	
	<startup useLegacyV2RuntimeActivationPolicy="true">
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
	</startup>
	
	<runtime>
		<!-- This option allows running SharpDevelop from network drives -->
		<loadFromRemoteSources enabled="true" />
		
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<!-- The redirects for SharpDevelop allow using old AddIns in newer SharpDevelop versions -->
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.Core" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.Core.WinForms" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.Core.Presentation" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.SharpDevelop" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.SharpDevelop.Widgets" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.AvalonEdit" publicKeyToken="d4bfe873e7598c49" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.0.1" newVersion="5.0.1"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="ICSharpCode.TreeView" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="FormsDesigner" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
				<bindingRedirect oldVersion="5.0.0.0-5.1.0.5134" newVersion="5.1.0.5134"/>
			</dependentAssembly>
			
			<!-- redirect MSBuild.Framework requests to make old task assemblies work with MSBuild 4.0 -->
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
				<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="4.0.0.0"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.Build.Engine" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
				<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="4.0.0.0"/>
			</dependentAssembly>
			<dependentAssembly>
				<assemblyIdentity name="Microsoft.CompactFramework.Build.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
				<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="10.0.0.0"/>
			</dependentAssembly>
			
			<probing privatePath="Tools\NUnit"/>
		</assemblyBinding>
	</runtime>
	<appSettings>
		<!-- Use this configuration setting to store settings in a directory relative to the location
		     of SharpDevelop.exe instead of the user's profile directory. -->
		<add key="settingsPath" value="..\settings" />
		
		<!-- Use this setting to specify a different path for the code completion cache.
 		     The cache contains information about referenced assemblies to speed up loading
 		     the information on future SharpDevelop starts. -->
		<!-- <add key="domPersistencePath" value="..\DomCache" /> -->
		
		<!-- Use this setting to disable the code completion cache. Code completion will still be
		     available, but take longer to load and use more RAM. -->
		<!-- <add key="domPersistencePath" value="none" /> -->
		
		<!-- Tell WinForms to resize some components based on system DPI.
		     Only has an effect with .NET 4.5.2 or higher. -->
		<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
	</appSettings>
	<log4net>
		<!-- Writes to the console. The console is only visible in debug builds of SharpDevelop. -->
		<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender">
			<mapping>
				<level value="FATAL" />
				<foreColor value="Red, HighIntensity" />
			</mapping>
			<mapping>
				<level value="ERROR" />
				<foreColor value="Red" />
			</mapping>
			<mapping>
				<level value="WARN" />
				<foreColor value="Yellow" />
			</mapping>
			<mapping>
				<level value="INFO" />
				<foreColor value="White" />
			</mapping>
			<mapping>
				<level value="DEBUG" />
				<foreColor value="Green" />
			</mapping>
			<layout type="log4net.Layout.PatternLayout">
				<conversionPattern value="%date [%thread] %-5level- %message%newline" />
			</layout>
		</appender>
		
		<!-- Writes to OutputDebugString - use a tool like Sysinternals DebugView to view the log  -->
		<appender name="DebugAppender" type="log4net.Appender.OutputDebugStringAppender">
			<layout type="log4net.Layout.PatternLayout">
				<conversionPattern value="[%thread] %-5level- %message%newline" />
			</layout>
		</appender>
		
		<!-- Allows writing to a log file -->
		<appender name="FileAppender" type="log4net.Appender.FileAppender">
			<file value="SharpDevelopLog.txt" />
			<layout type="log4net.Layout.PatternLayout">
				<conversionPattern value="%date [%thread] %-5level- %message%newline" />
			</layout>
		</appender>
		
		<!--- Keeps the last few log entries and appends them to bug reports when an exception occurs -->
		<appender name="Recorder" type="ICSharpCode.SharpDevelop.Logging.LogMessageRecorder, SharpDevelop">
			<bufferSize value="25" />
		</appender>
		
		<root>
			<level value="DEBUG" />
			<!-- Here you can configure which log appenders should be used -->
			<appender-ref ref="ColoredConsoleAppender" />
			<appender-ref ref="Recorder" />
		</root>
	</log4net>
</configuration>
