You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is what I see when I am using Microsoft.NET.Sdk.Functions 3.0.3:
NuGet.Protocol should be in the bin directory.
Actual
The app shows error on start-up with 3.0.4, 3.0.5, and 3.0.6 (I tried them all)
[4/18/2020 8:51:43 AM] The 'Function1' function is in error: Unable to load one or more of the requested types.
[4/18/2020 8:51:43 AM] Could not load file or assembly 'NuGet.Protocol, Version=5.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
[4/18/2020 8:51:43 AM] Microsoft.Azure.WebJobs.Host: Error indexing method 'Function1'. System.Private.CoreLib: Could not load file or assembly 'NuGet.Protocol, Version=5.5.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
Note that the bin directory is much more empty with 3.0.4 and on (note there is no NuGet.Protocol)
The text was updated successfully, but these errors were encountered:
I had the exact same problem with Microsoft.NET.Sdk.Functions 3.0.9 and NuGet.Protocol 5.8.0.
The workaround suggested in Azure/azure-functions-host#5894 did help:
Repro steps
NuGet.Protocol
(I have 5.5.1)This is the code I used.
Excepted
App should start, and find NuGet.Protocol.
This is what I see when I am using Microsoft.NET.Sdk.Functions 3.0.3:
NuGet.Protocol should be in the bin directory.
Actual
The app shows error on start-up with 3.0.4, 3.0.5, and 3.0.6 (I tried them all)
Note that the bin directory is much more empty with 3.0.4 and on (note there is no NuGet.Protocol)
The text was updated successfully, but these errors were encountered: