Hi @valery ,
Welcome to Google Cloud Community!
Current situation:
- 2nd gen Cloud Functions support .NET Core 8.0 (in preview): If you’re open to using 2nd gen functions, you can already leverage .NET 8.0, but keep in mind that it’s still in preview.
- 1st gen Cloud Functions only support up to .NET Core 6.0: This version will be deprecated in November 2024.
- No official roadmap or announcements for 1st gen .NET 8.0 support: There’s no clear indication from Google if or when they plan to add .NET 8.0 to 1st gen functions.
Recommendations:
- Consider migrating to 2nd gen Cloud Functions: If possible, this would allow you to use .NET 8.0 and benefit from newer features and improvements. However, carefully evaluate the compatibility of your existing functions and any potential migration efforts.
- Stay updated with official announcements: Monitor Google Cloud’s documentation and release notes for any updates regarding 1st gen function runtimes.
- Engage with the community: Join discussions in the Google Cloud Community forums or reach out to Google Cloud support for further insights or potential workarounds.
Additional considerations:
- Explore alternative cloud providers if .NET 8.0 support is crucial for your project and you’re unable to migrate to 2nd gen functions or use a different runtime.
- If you’re using Functions Framework v1, you’re currently limited to .NET Core 3.1.
- Keep in mind that even if .NET 8.0 support is added to 1st gen functions, it might come closer to the deprecation date of .NET Core 6.0.