Thursday, February 7, 2013

Tricks to get Ektron to Compile

I learned today that Ektron when attempting to build will often get hung up on a particular file and report a nonexistent bug with a web form that is perfectly fine. It will complain about a label binding or some other bit of nonsense. The way to fix this is to build just the page (Build > Build Page) before building the whole of the site (Build > Build Web Site) in Visual Studio. If you attempt to build and then Ektron both...

  1. fails to build
  2. reports zero errors

...then open the Output pane from either the View menu or the Other Windows submenu within the View menu (wherever you are keeping it) and watch the site attempt to build as you attempt to compile. This should reveal the fail point. Ektron has a very specific order it which it compiles chunks of itself.

No comments:

Post a Comment