2 years ago
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?
12 Replies
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.
2 years ago
what version does it end up using? it unfortunately may come down to having to write a Dockerfile
I tried specifying 8.0.2 to see if it would change, but it does seem to at all
2 years ago
try writing a quick Dockerfile
2 years ago
dockerfiles are always the solution haha