Created
October 12, 2022 16:06
-
-
Save WillEhrendreich/543d99b9898424e87ee2b0cb4d9c3cf9 to your computer and use it in GitHub Desktop.
Altered Inventor.exe.config with AssemblyBindingRedirect for Fsharp.core and Logging.Abstractions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- //inventor/Main/sources/AppFw/app/Inventor.exe.config --> | |
| <!-- This config file is mastered to Bin\Inventor.exe.config by //inventor/Main/sources/AppFw/app/app.install.xml --> | |
| <configuration> | |
| <configSections> | |
| <sectionGroup name="autodesk.inventor.content"> | |
| <section name="logging" type="System.Configuration.DictionarySectionHandler,system, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null"/> | |
| </sectionGroup> | |
| <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> | |
| </configSections> | |
| <appSettings> | |
| <!-- Controls client cache allocation limit. MaxCachedObjects controls the maximum number | |
| of cached objects before a purge is done. CachePurgeInterval controls how many objects | |
| are removed when a purge is done --> | |
| <add key="Connectivity.Content.MaxCachedObjects" value="500"/> | |
| <add key="Connectivity.Content.CachePurgeInterval" value="100"/> | |
| <add key="Connectivity.Content.MaxSearchResults" value="2500"/> | |
| <!-- WebService timeout (in milliseconds) --> | |
| <add key="WebServiceTimeout" value="1000000"/> | |
| <add key="EnableWindowsFormsHighDpiAutoResizing" value="true" /> | |
| </appSettings> | |
| <microsoft.web.services3> | |
| <messaging> | |
| <maxMessageLength value="51200"/> | |
| <mtom clientMode="On" maxMimeParts="1024"/> | |
| </messaging> | |
| <security> | |
| <!-- Specifies the time buffer used by WSE to determine when a SOAP message is valid. | |
| Set to the max of 24hr in seconds. --> | |
| <timeToleranceInSeconds value="86400" /> | |
| </security> | |
| </microsoft.web.services3> | |
| <startup useLegacyV2RuntimeActivationPolicy="true"> | |
| <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> | |
| </startup> | |
| <!-- .NET 3.5 and earlier allowed managed code to catch access violations and other corrupted | |
| process states. Starting in .NET 4.0, managed code no longer catches these exceptions. | |
| The "legacyCorruptedStateExceptionsPolicy" element restores the .NET 3.5 behavior. | |
| "loadFromRemoteSources" allows DLLs to load from network shares. Customers have requested | |
| this capability in iLogic rules. --> | |
| <runtime> | |
| <legacyCorruptedStateExceptionsPolicy enabled="true"/> | |
| <loadFromRemoteSources enabled="true"/> | |
| <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
| <dependentAssembly> | |
| <assemblyIdentity name="Fsharp.core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | |
| <bindingRedirect oldVersion="0.0.0.0-4.6.0.0" newVersion="4.6.0.0" /> | |
| </dependentAssembly> | |
| <dependentAssembly> | |
| <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | |
| <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> | |
| </dependentAssembly> | |
| <dependentAssembly> | |
| <assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" /> | |
| <bindingRedirect oldVersion="0.0.0.0-3.1.6.0" newVersion="3.1.6.0" /> | |
| </dependentAssembly> | |
| <dependentAssembly> | |
| <assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" /> | |
| <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" /> | |
| </dependentAssembly> | |
| <dependentAssembly> | |
| <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | |
| <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> | |
| </dependentAssembly> | |
| </assemblyBinding> | |
| <!-- | |
| Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true | |
| Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true | |
| To follow MS update: https://support.microsoft.com/en-us/topic/february-9-2021-kb4601056-cumulative-update-for-net-framework-3-5-and-4-8-for-windows-10-version-1909-and-windows-server-version-1909-f3e984f3-d534-7c61-d8e9-b5d9885832fe | |
| --> | |
| <AppContextSwitchOverrides value="Switch.System.ServiceModel.DisableUsingServicePointManagerSecurityProtocols=false;Switch.System.Net.DontEnableSchUseStrongCrypto=false;Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true;Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=true" /> | |
| </runtime> | |
| </configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment