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

Cannot create new project #1749

Open
siguro58 opened this issue Feb 6, 2025 · 3 comments
Open

Cannot create new project #1749

siguro58 opened this issue Feb 6, 2025 · 3 comments
Labels
area-templates Experiences around the project/item templates needs-more-info Needing more information, waiting on OP

Comments

@siguro58
Copy link

siguro58 commented Feb 6, 2025

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
Item Value
CPUs Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (4 x 2592)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 11.98GB (5.78GB free)
Process Argv --crash-reporter-id 6262290e-5acf-4b21-9fe2-9dccfed6aa6e
Screen Reader no
VM 67%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
9064b325:31222308
copilot_t_ci:31222730

@AbhitejJohn AbhitejJohn added the area-templates Experiences around the project/item templates label Feb 7, 2025
@AbhitejJohn
Copy link

@arunchndr : Curious, does C# Dev Kit bring in this template?

@arunchndr
Copy link
Member

@arunchndr : Curious, does C# Dev Kit bring in this template?

@JakeRadMSFT or @LittleLittleCloud might know.

@timheuer
Copy link
Member

timheuer commented Mar 7, 2025

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!!

@timheuer timheuer added the needs-more-info Needing more information, waiting on OP label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-templates Experiences around the project/item templates needs-more-info Needing more information, waiting on OP
Projects
None yet
Development

No branches or pull requests

4 participants