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
{{ message }}
Repository navigation
Package with lib/net35-client and lib/portable-net4+sl5+netcore45+wpa81+wp8 installs wrong version for project targeting 4.5 #559
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.
Activity
agross commentedon Jan 19, 2015
Seems like paket doesn't even add a
<When Condition=""/>for net35-client.