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
Executed command to create new Azure Functions project with Http trigger template using c# dev kit
Project was created but with this error:
Error: Failed to restore NuGet packages for the solution
Output:
C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, eShopOnWebShared, Microsoft Visual Studio Offline Packages [C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.sln]
C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, eShopOnWebShared, Microsoft Visual Studio Offline Packages [C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.sln]
C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker.Sdk. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, eShopOnWebShared, Microsoft Visual Studio Offline Packages [C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.sln]
Failed to restore C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj (in 2.52 sec).
Extension version: 1.16.6
VS Code version: Code 1.95.2 (e8653663e8840adaf45af01eab5c627a5af81807, 2024-11-07T11:07:22.054Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (4 x 2592)
Dev Kit does not bring the function templates. @siguro58 can you describe how you created the function app in repro steps please? THis will help us narrow down where the issue may be or if we need to refer to the functions app owners. It does look like a restore fail and perhaps you have some feeds disabled, but we need to know more info on how you are creating these. THank you!!
Type: Bug
Executed command to create new Azure Functions project with Http trigger template using c# dev kit
Project was created but with this error:
Error: Failed to restore NuGet packages for the solution
Output:
C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, eShopOnWebShared, Microsoft Visual Studio Offline Packages [C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.sln]
C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, eShopOnWebShared, Microsoft Visual Studio Offline Packages [C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.sln]
C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker.Sdk. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, eShopOnWebShared, Microsoft Visual Studio Offline Packages [C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.sln]
Failed to restore C:\Users\rolfsilverlind\source\projects\az204\rep\az204fn\az204fn.csproj (in 2.52 sec).
Extension version: 1.16.6
VS Code version: Code 1.95.2 (e8653663e8840adaf45af01eab5c627a5af81807, 2024-11-07T11:07:22.054Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: unavailable_off
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: