Skip to content

Instantly share code, notes, and snippets.

@nozzlegear
Created October 9, 2017 00:18
Show Gist options
  • Save nozzlegear/9ebbf6c49c56033c85933041d6fb9969 to your computer and use it in GitHub Desktop.
Save nozzlegear/9ebbf6c49c56033c85933041d6fb9969 to your computer and use it in GitHub Desktop.
My Azure Function app is showing errors at startup when running an F# net461 function in Beta mode.
2017-10-09T00:15:45 Welcome, you are now connected to log-streaming service.
2017-10-09T00:16:45 No new trace in the past 1 min(s).
2017-10-09T00:16:56.056 Function started (Id=924e28d7-e342-41ad-a7ce-be2a6f6c6f8c)
2017-10-09T00:16:56.300 Exception during runtime resolution of assembly 'Hopac, Version=0.3.23.0, Culture=neutral, PublicKeyToken=null': 'System.InvalidCastException: [A]System.AppDomain cannot be cast to [B]System.AppDomain. Type A originates from 'System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\2.0.0\System.Private.CoreLib.dll'. Type B originates from 'System.Runtime.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in the context 'Default' at location 'D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\2.0.0\System.Runtime.Extensions.dll'.
at Microsoft.Azure.WebJobs.Script.Description.FunctionAssemblyLoader.ResolveAssembly(Object sender, ResolveEventArgs args) in C:\azure-webjobs-sdk-script\src\WebJobs.Script\Description\DotNet\FunctionAssemblyLoader.cs:line 69'
2017-10-09T00:16:56.300 Unable to find assembly 'Hopac, Version=0.3.23.0, Culture=neutral, PublicKeyToken=null'. Are you missing a private assembly file?
2017-10-09T00:16:56.485 Artist Tally Tool executing at: 10/9/2017 12:16:56 AM
2017-10-09T00:16:56.496 The API domain being used is: kmsignalr.com
2017-10-09T00:16:56.623 Exception during runtime resolution of assembly 'Hopac.Platform, Culture=neutral, PublicKeyToken=null': 'System.InvalidCastException: [A]System.AppDomain cannot be cast to [B]System.AppDomain. Type A originates from 'System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location 'D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\2.0.0\System.Private.CoreLib.dll'. Type B originates from 'System.Runtime.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in the context 'Default' at location 'D:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\2.0.0\System.Runtime.Extensions.dll'.
at Microsoft.Azure.WebJobs.Script.Description.FunctionAssemblyLoader.ResolveAssembly(Object sender, ResolveEventArgs args) in C:\azure-webjobs-sdk-script\src\WebJobs.Script\Description\DotNet\FunctionAssemblyLoader.cs:line 69'
2017-10-09T00:16:56.623 Unable to find assembly 'Hopac.Platform, Culture=neutral, PublicKeyToken=null'. Are you missing a private assembly file?
2017-10-09T00:16:57.541 Artist Tally Tool finished at: 10/9/2017 12:16:57 AM
2017-10-09T00:16:57.554 Function completed (Success, Id=924e28d7-e342-41ad-a7ce-be2a6f6c6f8c, Duration=1487ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment