Cannot create a new Functions Project
See original GitHub issueIf I try to create an Azure Functions Project (Solution->Add->New Project) I get a new project folder that is completely empty, and a status message in the statusbar that says the project was created successfully.
I’ve already done a VS Update to 17.1.1 which didn’t change anything, then did a complete repair of VS2022 from the VSInstaller. I also reinsalled the Azure Functions Core Tools v4 with npm i -g azure-functions-core-tools@4 --unsafe-perm true
.
I’ve tried creating both a net6 and net6 isolated function (timer trigger), but only the empty folder is ever created with no errors shown.
I suppose my alternative at this point is to just manually create/copy a project file and try to go from there.
VS2022 Info:
Microsoft Visual Studio Professional 2022
Version 17.1.1
VisualStudio.17.Release/17.1.1+32228.430
Microsoft .NET Framework
Version 4.8.04161
Installed Version: Professional
.NET Core Debugging with WSL 1.0
.NET Core Debugging with WSL
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
ASA Service Provider 1.0
ASP.NET and Web Tools 2019 17.1.358.51495
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 17.1.358.51495
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 17.1.358.51495
Azure App Service Tools v3.0.0
Azure Data Lake Tools for Visual Studio 2.6.5000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 17.1.358.51495
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.6.5000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 4.1.0-5.22109.6+0c82c4114a4e4b8b723b915eee3b13261db6717f
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
Microsoft Azure Hive Query Language Service 2.6.5000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 17.0
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.6.5000.0
Language service for Azure Stream Analytics
Microsoft Azure Tools for Visual Studio 2.9
Support for Azure Cloud Services projects
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 2.1.161+abc97ecc7d.RR
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio Tools for Containers 1.2
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Node.js Tools 1.5.40105.1 Commit Hash:1822ee94b29c6cf748a19825f14cc26d30b0b871
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 6.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Razor (ASP.NET Core) 17.0.0.2206201+62a2c1d6162f828801565a7ca26d9d48b810a05b
Provides languages services for ASP.NET Core Razor.
SQL Server Data Tools 17.0.62201.12090
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 17.0.1229.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.1.0-5.22109.6+0c82c4114a4e4b8b723b915eee3b13261db6717f
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.1.0-beta.21610.4+07b5673e4f2fa7630e78abe37f16b372353a7242
Microsoft Visual F# Tools
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions 1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
VS2022 Cannot Create Azure Functions Project
1. Re-install the .NET 6 SDK and the Runtime Package · 2. Restart the System and try creating the new Azure Functions Project...
Read more >Can't create v3 Function project - Developer Community
Using the latest VS19 v16.4.1 when I try to create an Azure Function v3 project no matter what options I choose I get...
Read more >Create your first function in the Azure portal
Learn how to create your first Azure Function for serverless execution using the Azure portal.
Read more >VS2022 Cannot Create Azure Functions Project
Restart the System and try creating the new Azure Functions Project from Visual Studio 2022 Professional. Updated Answer: Go to Visual Studio Professional...
Read more >from the beginning, using Azure functions ( VS Code ), part III
To create and run an Azure function we need to do the following: Create a new Azure functions project. Create a new Azure...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I wasn’t sure which repo would actually take ownership of this item, so I posted there as well. I indicated in the comments there that the issue was cross-posted here.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.