title: Using composer dialogs in a C# bot
body: <p>I created a C# bot with bot framework 4.14.1. Some dialogs are written in C# and others are created with the Bot Framework Composer. Now I want to run the composer dialogs inside the C# bot. In later versions of the Bot Framework I can do the following:</p>
  <pre class="lang-cs prettyprint-override"><code>var composerDialogResource = resourceExplorer.GetResource(&quot;Composer_Dialog.dialog&quot;);
  var composerDialog = resourceExplorer.LoadType&lt;AdaptiveDialog&gt;(composerDialogResource );
  </code></pre>
  <p>That worked fine. But with the new version of Bot Framework I get the following exception:</p>
  <blockquote>
  <p>&quot;composer.dialog error: Could not create an instance of type
  Microsoft.Bot.Builder.Dialogs.Dialog. Type is an interface or abstract
  class and cannot be instantiated.&quot;</p>
  </blockquote>
  <p>Does anyone has solved this problem?
  Regards
  Andreas</p>