Base solution for your next web application
Open Closed

Could not load System.Collections.Immutable 1.2.0.0 #1579


User avatar
0
marcosli created

Hi,

I'm creating a mvc application from the scratch. I'm using Abp 0.11.0.2 and System.Collections.Immutable 1.2.0.0.
After changing that line the Global.asax:

From
public class MvcApplication : System.Web.HttpApplication

To
public class MvcApplication : AbpWebApplication<MvcAppModule>

The application could not load the System.Collections.Immutable assembly.

Also i tried to use binding redirect like this:
<dependentAssembly>
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.1.37.0" newVersion="1.2.0.0" />

  </dependentAssembly>

Am I doing something wrong?

Thanks


No answer yet!