TemplateFoundation.Test

May 10, 2012 at 12:02 PM

Hi all,

I am trying to get the Unit Tests to work, but I'm not succesful :( Am using EPiServer 6 R2 btw.

When I set forceBinFolderScan="true" in the config I get: " The path is not of a legal form".

When I set  forceBinFolderScan="false" in the config, I get: "Cannot resolve dependencies for ... PageTypeBuilder. Initializer, the eventhandlers from ETF and the EPiServer.Web.Initializationmodule.

 

Anyone any tips?

 

May 10, 2012 at 12:53 PM
Edited May 10, 2012 at 12:53 PM

Is your solution saved in a location where the full path would contain spaces or other invalid characters? That could be the cause.

Setting forceBinFolderScan to false will prevent any IInitializableModules from being initialized unless they are specifically added in the EPiServerFramework.config file. 

Some more info on the initialization routines can be found at http://www.david-tec.com/2011/11/Optimising-EPiServer-start-up-times-during-build-with-EPiOptimiser/