#Transition from .NET 6 -> .NET 8

1 messages · Page 1 of 1 (latest)

gloomy frigate
#

Hi all!

I'm trying to update my project from .NET 6 -> .NET 8, however to save some time, I'm trying to keep it an in-process model instead of the isolated one.

Is there anywhere a guide that I can follow to just upgrade my Azure Functions server from .NET 6 to .NET 8 without switching to the isolated model?

If not, does anyone know how to do it properly? I've enclosed the following errors when trying to starting the server.

#

These are the packages I'm using in the solution.

olive prairie
gloomy frigate
gloomy frigate
#

It seems that System.Net.Http wasn't in my "Packages" dependency list. I've now added the latest version, but unfortunately that didn't do the trick

olive prairie
#

I’d be interested in looking at the csproj file

gloomy frigate
#

Sure, sure

#

Here you go. 👍

#

Alright, because of the deadline of tomorrow, I've decided to just jump into the isolated environment anyway.
I don't really have the feeling that with Azure Functions a .NET 8 in-process environment is possible over a short timespan.

#

I thought I could just change it to net8.0, maybe update some NuGet packages and done with it. 😂
But it seems that's not true.

olive prairie
#

Have you tried removing that System.Net.Http package reference and try rebuilding? I’m surprised you have to include that as a reference

#

I thought httpclient got shipped with the base runtime, could be wrong

gloomy frigate
#

Yeah, I've tried removing it and rebuilding. Unfortunately that also didn't do the trick.