Forum Discussion
johnjohn-Peter
Feb 03, 2024Iron Contributor
How i can create an Azure Function using .net 8.0 inside visual studio 2022 17.8.6
I have visual studio 2022 17.8.6, and .net 8.0 is installed as follow:- but when i create a new azure function, as follow:- the .net 8.0 is not listed inside the "funct...
- Feb 14, 2024Try this:
1. Navigate to Tools -> Options -> Projects and Solutions -> Azure Functions
2., Click on Check for Updates, then Download and install. (This may return immediately with no apparent effect, if this happens, try the alternate step below)
3. Restart Visual Studio
Copied from: https://developercommunity.visualstudio.com/t/Net-8-is-missing-for-Azure-Function-proj/10520997?port=1025&fsid=1b3d6114-b17d-4a1c-9d14-e71ebe349e39&q=azure+functions+8&ref=native&refTime=1707896522630&refUserId=5e5ab3ed-9f96-4dff-bbbf-9aa087bbcfab
Per-Erik Kristensson
Feb 14, 2024Copper Contributor
Try this:
1. Navigate to Tools -> Options -> Projects and Solutions -> Azure Functions
2., Click on Check for Updates, then Download and install. (This may return immediately with no apparent effect, if this happens, try the alternate step below)
3. Restart Visual Studio
Copied from: https://developercommunity.visualstudio.com/t/Net-8-is-missing-for-Azure-Function-proj/10520997?port=1025&fsid=1b3d6114-b17d-4a1c-9d14-e71ebe349e39&q=azure+functions+8&ref=native&refTime=1707896522630&refUserId=5e5ab3ed-9f96-4dff-bbbf-9aa087bbcfab
1. Navigate to Tools -> Options -> Projects and Solutions -> Azure Functions
2., Click on Check for Updates, then Download and install. (This may return immediately with no apparent effect, if this happens, try the alternate step below)
3. Restart Visual Studio
Copied from: https://developercommunity.visualstudio.com/t/Net-8-is-missing-for-Azure-Function-proj/10520997?port=1025&fsid=1b3d6114-b17d-4a1c-9d14-e71ebe349e39&q=azure+functions+8&ref=native&refTime=1707896522630&refUserId=5e5ab3ed-9f96-4dff-bbbf-9aa087bbcfab