A fix to run Typemock Isolator inside the Page_Load for an ASPX page on VS2010/.NET4
I recently tried to use Typemock Isolator inside a ASP.NET page load event, to fake out some SharePoint SPLists e.g. protected void Page_Load(object sender, EventArgs e) { SPSite fakeSite = Isolate.Fake.Instance(); …….. } This has worked in the past but using VS2010RC and Isolator 6.0.1.0 it failed. If running VS2010 as Admin I got the error “Could not load file or assembly ‘TypeMock, Version=0.12900.25133.13153, Culture=neutral, PublicKeyToken=37342d316331342d’ or one of its dependencies....