Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.PlatformNotSupportedException: 'System.Data.SqlClient is not supported on this platform.' #289

Closed
ksazid opened this issue Oct 26, 2019 · 37 comments
Labels
🔗 External Issue is in an external component

Comments

@ksazid
Copy link

ksazid commented Oct 26, 2019

image

Am using Dapper with UnityOfWork with .NetCore 3.0 for passing connection from Startup.cs. Its really frustrating because its working with other PC's not with mine PC. Is there any changes I need to make to my PC?

Below are the dependencies and dotnet --info

  1. Packages
    image

  2. dotnet --info
    image

@roji roji transferred this issue from dotnet/corefx Oct 26, 2019
@ErikEJ
Copy link
Contributor

ErikEJ commented Oct 26, 2019

Use Microsoft.Data.SqlClient instead?

@ksazid
Copy link
Author

ksazid commented Oct 26, 2019

@ErikEJ tried that as well having same issue
image

@David-Engel
Copy link
Contributor

@yukiwongky yukiwongky added the ⏳ Waiting for Customer Issues/PRs waiting for user response/action. label Oct 29, 2019
@huwparry22
Copy link

I'm having a similar problem. I have a project that references Microsoft.EntityFrameworkCore.SqlServer and Microsoft.EntityFrameworkCore.Tools, both v3.0.0 of these packages. The project is a .NET Standard v2.1 project.

An ASP.NET Core v3.0 Web API project that I made references the above project and is able to communicate to the database without any problems.

I'm now trying to create an Azure Function using .NET Core v3.0 using the beta runtime. I now receive the error Microsoft.Data.SqlClient is not supported on this platform. I've looked at various solutions for this problem but none seem to be working (Azure/Azure-Functions#1370).

Does anyone have any suggestions on this? I'm guessing it's all due to using the preview version in the Azure Function.

Project: Azure Function
TargetFramework: netcoreapp3.0
AzureFunctionsVersion: v3-preview
Micorsoft.NET.Sdk.Functions: v1.0.3
Microsoft.EntityFrameworkCore.SqlServer: v3.0.0
Microsoft.EntityFrameworkCore.Tools: v3.0.0

Thanks

@yukiwongky
Copy link
Contributor

@huwparry22 Can you have a quick try and try to use System.Data.SqlClient 4.7? If you also get the not supported in this platform issue, it could be an Azure function issue similar to #227 .

@huwparry22
Copy link

Hi @yukiwongky - The error is coming from Microsoft.Data.SqlClient (v1.0.19249.1), which is a dependency of Microsoft.EntityFrameworkCore.SqlServer. As such I don't think I'm able to switch out and use System.Data,SqlClient on it's own. I've tried adding the package and running again but I'm still getting the same error.

@yukiwongky
Copy link
Contributor

@huwparry22 you've probably already tried this, but just to make sure have you tried the workaround mentioned in #227?

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
  <Exec Command="copy $(OutDir)$(ProjectName).deps.json $(OutDir)bin\function.deps.json" />
</Target>
<Target Name="PostPublish" BeforeTargets="Publish">
  <Exec Command="copy $(PublishDir)$(ProjectName).deps.json $(PublishDir)bin\function.deps.json" />
</Target>

After your azure function is built, can you run tree /F from the root of your azure function project so we can see how the Microsoft.Data.SqlClient.dll and function.deps.json are placed.

@vologar
Copy link

vologar commented Nov 27, 2019

We are experiencing the same issue with both System.Data.SQlClient 4.7 and Microsoft.Data.SQLClient.
image

@ghost
Copy link

ghost commented Nov 27, 2019

Upgrading the SQLClient in NuGet from v1.x to Microsoft.EntityFrameworkCore.SqlServer v3.1.0-preview3.19554.8 with dotnetcore 3.1-preview3 fixed this for me.

@cheenamalhotra
Copy link
Member

That seems to be related to EntityFramework Core 3.0 and 3.0.1 not supporting .NET Standard 2.0 which is back in v3.1.0-preview3.

@vologar
Copy link

vologar commented Nov 27, 2019

We are using EntityFramework Core 2.2.6

@cheenamalhotra
Copy link
Member

Could you also try with .NET Core 3.1-preview3, I'm not sure if .NET Core SDK has a role to play too.

@vologar
Copy link

vologar commented Nov 27, 2019

This is an Azure Function app. It's currently only available for netcoreapp2.1. Any preview packages are also not an option for us. We are evaluating Azure Functions, .Net Core for a large enterprise project

@cheenamalhotra
Copy link
Member

cheenamalhotra commented Nov 27, 2019

I got it working with .NET Core 3.1, also uploaded example to verify:
https://github.com/cheenamalhotra/azurefunctions-sqlclient-example

cc @huwparry22 @ksazid

@vologar
Copy link

vologar commented Nov 28, 2019

The suggested solution is using the preview Azure Functions SDK. The company's corporate policies do not allow using any preview packages or preview Azure offerings. This was mentioned earlier.

@Robzilla
Copy link

Robzilla commented Nov 28, 2019

Getting this error after creating a fresh Azure Function v3 app with Visual Studio Enterprise 2019 Preview Version 16.4.0 Preview 6.0.

Actually had the same error when using Microsoft.Data.SqlClient and System.Data.SqlClient.

Project Config is as follows

<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netcoreapp3.0</TargetFramework> <AzureFunctionsVersion>v3-preview</AzureFunctionsVersion> <AssemblyName>MyProj.Core</AssemblyName> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.5" /> <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.0.0" /> <PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" /> <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.0-preview2" /> <PackageReference Include="Microsoft.NETCore.App" Version="2.2.8" /> </ItemGroup> <ItemGroup> <None Update="host.json"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Update="local.settings.json"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToPublishDirectory>Never</CopyToPublishDirectory> </None> </ItemGroup> </Project>

@cheenamalhotra
Copy link
Member

cheenamalhotra commented Nov 28, 2019

Hi @Robzilla

Getting this error after creating a fresh Azure Function v3 app with Visual Studio Enterprise 2019 Preview Version 16.4.0 Preview 6.0.

I was able to work with v3-preview using the same repro, updated branch af-v3. Can you post your error so we can take a look?

The suggested solution is using the preview Azure Functions SDK. The company's corporate policies do not allow using any preview packages or preview Azure offerings.

Yes, that's right. The problem is with "Microsoft.NET.Sdk.Functions" NuGet package v1.0.29, which is the Azure Functions SDK. Updating to 1.0.30-beta4 or 3.0.0-preview2 solves the error, but since you have limitation to use Stable versions only, you'd have to wait till 1.0.30 or 3.0.0 stable versions are released. There's nothing on the SqlClient library that needs to be done.

@Robzilla
Copy link

Robzilla commented Nov 28, 2019

Hi @cheenamalhotra

So I am zip deploying using VS2019 to Azure and then doing a remote debug session.
I can run business logic, connect to table storage and so on. But when I try to initiate the connection to SQL Server I get the following Exception, unfortunately this doesn't really tell me much. If you have anything else that can collect extra debug info I am happy to try and collect a more detailed error.

Also I tried to target Core 3.1 but this dies when trying to publish to Azure. I am guessing 3.1 isn't supported yet but I didn't go down that rabbit hole as I was trying to get a SQL Connection using Core 3.0.

Exception Type: System.Exception (System.PlatformNotSupportedException
Message: Microsoft.Data.SqlClient is not supported on this platform.
Stack Trace:
at Microsoft.Data.SqlClient.SqlConnection..ctor(String connectionString)
at MyFunction.RunAsync(HttpRequest req, ILogger log, ExecutionContext context) in C:\source\repos\functions\MyFunction.cs:line 379

@cheenamalhotra
Copy link
Member

Hi @Robzilla

I figured out we also need to update the below property in .vscode/settings.json file:
"azureFunctions.projectRuntime": "~3"

I'm wondering if you can modify local.settings.json to add this property?

@cheenamalhotra
Copy link
Member

cheenamalhotra commented Nov 29, 2019

I've created branches 'af-v1' and 'af-v3' in Azure Functions SqlClient Example for testing with respective azure function versions, while 'master' branch demonstrates using v2 version.

Summarizing important points here:

  • Make sure to update "azureFunctions.projectRuntime" property in .vscode\settings.json or local.settings.json file:

    • "azureFunctions.projectRuntime": "~3" for v3
    • "azureFunctions.projectRuntime": "~2" for v2
    • "azureFunctions.projectRuntime": "~1" for v1
  • Ensure using "Microsoft.NET.Sdk.Functions" library version 1.0.30-beta4 or 3.0.0-preview2 as 1.0.29 does seem to have issues that don't work with our NuGet architecture which are resolved by them in newer previews and beta versions.

Closing the issue as it's not a SqlClient library issue.

@ksazid

I've also updated a Dapper Unit of Work example for reference and no issues were found.

@cheenamalhotra cheenamalhotra removed the ⏳ Waiting for Customer Issues/PRs waiting for user response/action. label Nov 29, 2019
@Robzilla
Copy link

Hi @Robzilla

I figured out we also need to update the below property in .vscode/settings.json file:
"azureFunctions.projectRuntime": "~3"

I'm wondering if you can modify local.settings.json to add this property?

Actually I am running this in Azure not locally. And currently it is the Azure deploy that is throwing the exception. Just because something runs locally doesn't mean everything is ok. Did you manage to get this running in Azure?

@cheenamalhotra
Copy link
Member

Yes I tested that using netcoreapp3.0

image

@Robzilla
Copy link

Great do you have a repo I can clone to try?

@cheenamalhotra
Copy link
Member

Hi @Robzilla

You can work with Azure Functions Example linked here: #289 (comment)

@Robzilla
Copy link

Robzilla commented Dec 1, 2019

Hi @cheenamalhotra

Ok so after some trial and error I am a bit closer to a figuring out what is going on but I need some help with this. I was able to get the simple example running.

But when I added a project reference to a .net Core 3.0 class library using the exact same nuget libs as the example I then get a platform not supported exception.

If I back out this change then I still get the platform not supported exception.
So it looks like there are 2 problems happening.

  1. The wrong dlls are copied into the runtime when a non trivial example is used.
  2. These are then cached somewhere in the runtime so that even reverting to the simple example will always cause a Platform Not Supported error.

@cheenamalhotra
Copy link
Member

cheenamalhotra commented Dec 1, 2019

Try removing bin and obj folders and then build again. Also you need to update path in .vscode\**.json files or local.settings.json from existing bin\**\netcoreapp*.*\publish to desired profile where binaries are expected to be available now.

Otherwise let me know your csproj file structure, I can take a look too.

@Robzilla
Copy link

Robzilla commented Dec 1, 2019

Hi @cheenamalhotra

I removed the bin and obj folders but the error still occurs every time (at least it is consistent).
I also updated the local.setting.json file (see below), is this what you were think of?
I have also added the proj file and the output trace.

local.settings.json

{
  "IsEncrypted": false,
  "azureFunctions.deploySubpath": "bin/Release/netcoreapp3.0/publish",
  "azureFunctions.projectLanguage": "C#",
  "azureFunctions.projectRuntime": "~3",
  "debug.internalConsoleOptions": "neverOpen",
  "azureFunctions.preDeployTask": "publish",
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet"
  },
  "ConnectionStrings": {
    "SqlServerConnectionString": "Persist Security Info=False;User ID=myuser;Password=mypassword;Initial Catalog=mydatabase;Server=myserver"
  }
}

Proj file

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <AzureFunctionsVersion>v3-preview</AzureFunctionsVersion>
    <AssemblyName>DbTestFunc</AssemblyName>
    <RootNamespace>DbTestFunc</RootNamespace>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" />
    <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.0-preview2" />
  </ItemGroup>
  <ItemGroup>
    <None Update="host.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="local.settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <CopyToPublishDirectory>Never</CopyToPublishDirectory>
    </None>
  </ItemGroup>
</Project>

Debug output

'func.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\func.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IO.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\netstandard.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Security.AccessControl.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Autofac.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Hollambys\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Colors.Net.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.ApplicationInsights.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Script.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Logging.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Logging.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.WindowsAzure.Storage.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Authentication.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Authentication.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Http.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Hosting.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.DependencyInjection.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Script.WebHost.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Linq.Expressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.Emit.ILGeneration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.Emit.Lightweight.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'. 
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Newtonsoft.Json.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.Serialization.Formatters.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Diagnostics.TraceSource.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.ComponentModel.TypeConverter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Collections.Specialized.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Drawing.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.ComponentModel.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.Serialization.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Data.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Xml.ReaderWriter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Private.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\AccentedCommandLineParser.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Security.Cryptography.X509Certificates.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Security.Cryptography.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Hosting.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Host.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Options.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Extensions.Http.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.InteropServices.RuntimeInformation.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Diagnostics.Process.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.Sockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Diagnostics.Tracing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.NameResolution.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Server.Kestrel.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Hosting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.DependencyInjection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.FileProviders.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.EnvironmentVariables.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.CommandLine.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Server.Kestrel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Server.IIS.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Server.IISIntegration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Http.Features.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Diagnostics.DiagnosticSource.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.FileProviders.Physical.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.FileExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.Json.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IO.FileSystem.Watcher.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.FileSystemGlobbing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.Timer.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace\Microsoft.IntelliTrace.TelemetryObserver.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace\Microsoft.IntelliTrace.TelemetryObserver.CoreClr.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Logging.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Options.ConfigurationExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Logging.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Logging.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Logging.EventSource.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Connections.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Hosting.Server.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.HostFiltering.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.HttpOverrides.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Routing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.ObjectPool.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Routing.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.ViewFeatures.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Authentication.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.DataProtection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.DataProtection.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Cryptography.Internal.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.WebEncoders.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Text.Encodings.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Authentication.JwtBearer.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Authorization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Authorization.Policy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Buffers.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.ApiExplorer.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.Cors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Cors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.DataAnnotations.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Components.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.JSInterop.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Antiforgery.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.Razor.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Caching.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Caching.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.TagHelpers.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Razor.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.RazorPages.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Html.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.Formatters.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Script.Grpc.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Grpc.Core.Api.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.Tasks.Dataflow.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Configuration.Binder.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IO.Pipelines.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.ThreadPool.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Localization.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Text.Json.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Net.Http.Headers.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Resources.ResourceManager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.JsonPatch.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.Serialization.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Private.DataContractSerialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Security.Principal.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Razor.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Win32.Registry.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Xml.XDocument.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Private.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.ApplicationInsights.AspNetCore.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.Security.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Threading.Thread.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.NetworkInformation.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Application Insights Telemetry (unconfigured): {"name":"Microsoft.ApplicationInsights.Message","time":"2019-12-01T06:08:16.4669654Z","tags":{"ai.cloud.roleInstance":"RobsPC","ai.operation.syntheticSource":"SDKTelemetry","ai.internal.sdkVersion":"dotnetc:2.11.0-21474"},"data":{"baseType":"MessageData","baseData":{"ver":2,"message":"AI: An error has occured while initializing RequestTrackingModule. Requests will not be auto collected. Error message: 'System.ArgumentNullException: Value cannot be null. (Parameter 'configuration')\r\n   at Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners.HostingDiagnosticListener..ctor(TelemetryConfiguration configuration, TelemetryClient client, IApplicationIdProvider applicationIdProvider, Boolean injectResponseHeaders, Boolean trackExceptions, Boolean enableW3CHeaders, AspNetCoreMajorVersion aspNetCoreMajorVersion)\r\n   at Microsoft.ApplicationInsights.AspNetCore.RequestTrackingTelemetryModule.Initialize(TelemetryConfiguration configuration)'"}}}
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reactive.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reactive.Interfaces.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reactive.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Grpc.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Google.Protobuf.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.ComponentModel.Annotations.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Security.Cryptography.Algorithms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.Hosting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reactive.PlatformServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.HttpsPolicy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AI.DependencyCollector.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Logging.ApplicationInsights.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.Http.Formatting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.Mvc.WebApiCompatShim.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Extensions.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\NuGet.Versioning.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Host.Storage.dll'. Symbols loaded.
IConfiguration
IHost
IOptions`1
ScriptHost
IEventCollectorFactory
IConfiguration
IHostingEnvironment
IConfiguration
IOptions`1
ILoggerFactory
DistributedLockManagerContainerProvider
DefaultTriggerBindingFactory
IExtensionRegistryFactory
IConfiguration
IConfiguration
DefaultScriptWebHookProvider
CompositeBindingProviderFactory
IJobHostMetadataProviderFactory
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.CodeAnalysis.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.Loader.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
ILoggerFactory
IEnumerable`1
ScriptHost
ScriptHost
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Extensions.DependencyModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\source\repos\TestDbFunc\bin\Debug\netcoreapp3.0\bin\Index.Mortgage.Api.Links.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\NuGet.ProjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.CodeAnalysis.Scripting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\NuGet.LibraryModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Reflection.Emit.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'ScriptHost'. 
IScriptJobHost
IOptions`1
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IO.FileSystem.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Globalization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Text.Encoding.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Runtime.CompilerServices.Unsafe.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.AppService.Proxy.Common.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.IdentityModel.Tokens.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.IdentityModel.Tokens.Jwt.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.IdentityModel.Logging.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebSites.DataProtection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.IdentityModel.Protocols.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.Azure.WebJobs.Logging.dll'. Symbols loaded.
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\Microsoft.AspNetCore.WebUtilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\source\repos\TestDbFunc\bin\Debug\netcoreapp3.0\bin\Microsoft.Data.SqlClient.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll
Exception thrown: 'System.PlatformNotSupportedException' in Microsoft.Data.SqlClient.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
'func.exe' (CoreCLR: clrhost): Loaded 'C:\Users\rob\AppData\Local\AzureFunctionsTools\Releases\3.0.2\cli_x64\System.Net.WebSockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[39412] func.exe: Program Trace' has exited with code 0 (0x0).
The program '[39412] func.exe' has exited with code -1 (0xffffffff).

@cheenamalhotra
Copy link
Member

Can you provide output of dotnet --info for grabbing exact version of .Net Core 3.0?

Also try upgrading if not upgraded to latest.

@Robzilla
Copy link

Robzilla commented Dec 2, 2019

ok version info below

C:\Program Files\dotnet>dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.100-preview3-014645
 Commit:    b32d27f4b3

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.100-preview3-014645\

Host (useful for support):
  Version: 3.1.0-preview3.19553.2
  Commit:  13f35c3d86

.NET Core SDKs installed:
  2.1.602 [C:\Program Files\dotnet\sdk]
  2.1.700 [C:\Program Files\dotnet\sdk]
  2.1.701 [C:\Program Files\dotnet\sdk]
  2.1.801 [C:\Program Files\dotnet\sdk]
  2.1.802 [C:\Program Files\dotnet\sdk]
  2.2.202 [C:\Program Files\dotnet\sdk]
  2.2.300 [C:\Program Files\dotnet\sdk]
  2.2.301 [C:\Program Files\dotnet\sdk]
  2.2.401 [C:\Program Files\dotnet\sdk]
  2.2.402 [C:\Program Files\dotnet\sdk]
  3.0.100 [C:\Program Files\dotnet\sdk]
  3.1.100-preview1-014459 [C:\Program Files\dotnet\sdk]
  3.1.100-preview3-014645 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.0-preview1.19508.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.0-preview3.19555.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0-preview1.19506.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0-preview3.19553.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.0-preview1.19506.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.0-preview3.19553.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

@Robzilla
Copy link

Robzilla commented Dec 2, 2019

Also tried the latest runtime but same exception. See the proj file below

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <AzureFunctionsVersion>v3-preview</AzureFunctionsVersion>
    <AssemblyName>Index.Mortgage.Api.Links</AssemblyName>
    <RootNamespace>Index.Mortgage.Api.Links</RootNamespace>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" />
    <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.0-preview2" />
  </ItemGroup>
  <ItemGroup>
    <None Update="host.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="local.settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <CopyToPublishDirectory>Never</CopyToPublishDirectory>
    </None>
  </ItemGroup>
</Project>

@Robzilla
Copy link

Robzilla commented Dec 5, 2019

Hi @cheenamalhotra has this problem been allocated to the too hard basket? If so please let me know and I will roll back to core 2.2 and use the older library.

@cheenamalhotra
Copy link
Member

Hi @Robzilla

I'm unable to reproduce any issues at my end so can't really suggest anything, I don't see this could be driver issue as even you did got it working, its just subsequent publishes seem to contradict at your end. Would recommend checking with Azure Functions Teams if they could help figure out problems with caching.

Also try not to use AzureWebJobsStorage if possible, I'm not expert on Azure Functions but just try removing variations from working examples to figure out what's going on is all I can say.

@matthewkrieger
Copy link

I got it working with .NET Core 3.1, also uploaded example to verify:
https://github.com/cheenamalhotra/azurefunctions-sqlclient-example

cc @huwparry22 @ksazid

Is that even an option if I have a dependency on Entity Framework 6.4, which has a dependency on System.Data.SqlClient? I don't see how I can swap in Microsoft.Data.SqlClient- is that possible?

@huwparry22
Copy link

I got it working with .NET Core 3.1, also uploaded example to verify:
https://github.com/cheenamalhotra/azurefunctions-sqlclient-example
cc @huwparry22 @ksazid

Is that even an option if I have a dependency on Entity Framework 6.4, which has a dependency on System.Data.SqlClient? I don't see how I can swap in Microsoft.Data.SqlClient- is that possible?

I upgraded the project to .NET Core 3.1 and managed to get this working too. No problems with the recent versions. Thanks for helping!

@cheenamalhotra
Copy link
Member

Is that even an option if I have a dependency on Entity Framework 6.4, which has a dependency on System.Data.SqlClient? I don't see how I can swap in Microsoft.Data.SqlClient- is that possible?

You'd need to update to a newer version of EF that supports Microsoft.Data.SqlClient in order to work with it. Swapping is not possible if EF 6.4 library does not directly reference M.D.S.

@heltondev
Copy link

Guys, I was experiencing this same issue. I got it fixed when I updated: Microsoft.NET.Sdk.Function from v1.0.30-beta1 to v1.0.30 and installed Microsoft.Azure.WebJobs.Host.Storage v3.0.13.

I had previously installed:
.NET Framework v3.5 / v4.5.1 / v4.8
Microsoft ASP.NET Core v2.1.17
Microsoft .NET Core SDK v2.1.202 / v2.1.805 / v2.1.202
Microsoft .NET Core Runtime 2.1.17

@robcube
Copy link

robcube commented May 12, 2020

Check out dotnet/runtime#28416 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔗 External Issue is in an external component
Projects
None yet
Development

No branches or pull requests