title: Azure Functions runtime is unreachable
body: <p>My azure function is returning error: <em><strong>Azure Functions runtime is unreachable</strong></em></p>
  <pre><code>    System.Reflection.ReflectionTypeLoadException : Unable to load one or more of the requested types.
  Method 'LogFunctionStarted' in type 'WebJobs.Host.Storage.Logging.PersistentQueueLogger' from assembly 'Microsoft.Azure.WebJobs.Host.Storage, Version=4.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.
  
    at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
  
    at System.Reflection.RuntimeModule.GetTypes()
  
    at System.Reflection.Assembly.GetTypes()
  
    at Mapster.TypeAdapterConfig.&lt;&gt;c.b__87_0(Assembly assembly)
  
    at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
  
    at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.ToList()
  
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
  
    at Mapster.TypeAdapterConfig.Scan(Assembly[] assemblies)
  
    at DTSQuickHit.Functions.Startup.Configure(IFunctionsHostBuilder builder) at E:\buildagents\Agent03\_work\37\s\DTSQuickHit.Functions\Startup.cs : 32
  </code></pre>
  <p>my startup:</p>
  <pre><code>var environmentName = Environment.GetEnvironmentVariable(&quot;AZURE_FUNCTIONS_ENVIRONMENT&quot;);
  var basePath = IsDevelopmentEnvironment(environmentName)
      ? environmentName
      : $&quot;{Environment.GetEnvironmentVariable(&quot;HOME&quot;)}\\site\\wwwroot&quot;;
  
  var config = new ConfigurationBuilder()
      .SetBasePath(basePath)
      .AddJsonFile(&quot;local.settings.json&quot;, optional: true, reloadOnChange: true)
      .AddEnvironmentVariables()
      .Build();
  </code></pre>
  <p>Microsoft.Azure.WebJobs.Host.Storage isnt even in my project files so I dont understand the problem.</p>
  <p>My project files:</p>
  <pre><code>  &lt;ItemGroup&gt;
      &lt;PackageReference Include=&quot;Microsoft.Azure.Functions.Extensions&quot; Version=&quot;1.1.0&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.Azure.WebJobs.Extensions.ServiceBus&quot; Version=&quot;4.3.0&quot; /&gt;
      &lt;PackageReference Include=&quot;Microsoft.NET.Sdk.Functions&quot; Version=&quot;3.1.0&quot; /&gt;
    &lt;/ItemGroup&gt;
  </code></pre>
  <p>Could you please help me out with solving this?</p>