title: Adding Piranha CMS to an existing application
body: <p>I have problem with adding Piranha CMS to my existing project. I am using MVC. After I have set up everything like it is described <a href="http://piranhacms.org/docs/introduction/getting-started" rel="nofollow">here</a> I am receiving error "Entry point was not found."</p>
  
  <pre><code>System.Collections.Generic.IEnumerable`1.GetEnumerator()
     at System.Linq.Enumerable.&lt;UnionIterator&gt;d__88`1.MoveNext()
     at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
     at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
     at Piranha.Manager.ManagerModule.Init() in c:\Proj\GitHub\Piranha\Piranha\Manager\ManagerModule.cs:line 32
  </code></pre>
  
  <p>This is part of SC</p>
  
  <pre><code>private static string[] ExtensionsFolder = new[] { "~/Areas/Manager/Views/Extensions/{0}.cshtml" };     
  
  /// &lt;summary&gt;
  /// Create the view engine.
  /// &lt;/summary&gt;
  public static void Init() {
      if (!Config.DisableManager) {
          // Create new precompiled view engine
          var engine = new PrecompiledMvcEngine(typeof(ManagerModule).Assembly) {
              UsePhysicalViewsIfNewer = true
          } ;
          engine.PartialViewLocationFormats = engine.PartialViewLocationFormats.Union(ExtensionsFolder).ToArray();
          var standard = new RazorViewEngine() ;
          standard.PartialViewLocationFormats = standard.PartialViewLocationFormats.Union(ExtensionsFolder).ToArray() ;
  
          ViewEngines.Engines.Insert(0, standard) ;
          ViewEngines.Engines.Insert(1, engine) ;
  </code></pre>