You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NuGet installs lib/net35-client to a 4.5 class library, whereas paket installs lib/portable-net4 sl5 netcore45 wpa81 wp8. When you try to load the PostSharp-processed assembly it will cause exceptions when instantiating types:
System.TypeInitializationException: The type initializer for 'PostSharp.ImplementationDetails_688d9669.<>z__a_4' threw an exception. ---> System.TypeInitializationException: The type initializer for 'PostSharp.ImplementationDetails_688d9669.<>z__a_14' threw an exception. ---> System.TypeLoadException: Could not load type 'PostSharp.Aspects.Serialization.BinaryAspectSerializer' from assembly 'PostSharp, Version=4.0.39.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'.
This is because BinaryAspectSerializer is only defined in the lib/net35-client assembly.
The text was updated successfully, but these errors were encountered:
(The package is PostSharp 4.0.39)
NuGet installs lib/net35-client to a 4.5 class library, whereas paket installs lib/portable-net4 sl5 netcore45 wpa81 wp8. When you try to load the PostSharp-processed assembly it will cause exceptions when instantiating types:
This is because
BinaryAspectSerializer
is only defined in the lib/net35-client assembly.The text was updated successfully, but these errors were encountered: