Portable areas in Web Forms

Apr 26, 2013 at 9:49 PM
I was able to write a Portable area and use it in MVC project. Now I need to call the same area in asp.net web forms. It works in some way if I return a string from the Controller action method. However if I use View I am getting no views/master or found no engine supported. I looked at the list of engines It is missing MvcContrib.UI.InputBuilder.ViewEngine though I have used the PortableAreaRegistration.RegisterEmbeddedViewEngine();

I am trying to add to the engine collection:
string[] subdir = new string[] {"any"};
ViewEngines.Engines.Add( new MvcContrib.UI.InputBuilder.ViewEngine.InputBuilderViewEngine(subdir));
This compiles at run time it fails with + $exception {"Attempted to access an element as a type incompatible with the array."} System.Exception {System.ArrayTypeMismatchException}

Not sure why the string array has this error.
The documentation is not helpful in this.
May 1, 2013 at 10:11 PM
Now I have created a sample VS solution.
Let me know if any one needs help on this. Still I am having problem using in webforms.