Unhandled expection using .NET 8
Hi,
So I'm currently trying to deploy a C# project that uses .NET 8.
But I'm getting this error. Now I know it might not be the correct place to ask this.
Some information I have gathered is that it uses a preview version of .NET 8 instead of the stable version. Is there something I can do here to force it not to use preview versions?
9 Replies
Project ID:
ca095b61-135e-4c7c-9371-7d07018d7097
ca095b61-135e-4c7c-9371-7d07018d7097
I have tested with commenting various code sections out, but it never seems to be fixing the problem.
NIXPACKS_CSHARP_SDK_VERSION=8.0.0
the env var I use to force it to .NET 8.what version does it end up using? it unfortunately may come down to having to write a Dockerfile
SDK Version: 8.0.100-preview.5.23303.2
I tried specifying 8.0.2 to see if it would change, but it does seem to at allSolution
try writing a quick Dockerfile
Alright will do
Alright fixed, making a Dockerfile solved the problem.
Thank you!
dockerfiles are always the solution haha