Skip to content

ExceptionlessClient.Default.Register() throws a TypeInitializationException on machines with .NET Framework 4.0 Client Profile only #5

@wgraham17

Description

@wgraham17

It appears that the .NET PCL library fails to load (cannot find System.Core 2.0.5.0) on machines with .NET Framework 4.0 Client Profile installed

Stack trace:

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
Server stack trace:
at TinyIoC.TinyIoCContainer..ctor()
at Exceptionless.ExceptionlessClient..ctor()
at Exceptionless.ExceptionlessClient.<.cctor>b__d()
at System.Lazy1.CreateValue() at System.Lazy1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Value()
at Exceptionless.ExceptionExtensions.ToExceptionless(System.Exception, Exceptionless.Enrichments.ContextData, Exceptionless.ExceptionlessClient)
at Celavimus.Client.ApplicationBootstrapper.AttemptToStartClient()
at Celavimus.Client.ApplicationBootstrapper.Main(System.String[])

Based on this blog post it appears to be related to PCLs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions