
Assets file '<path_to_project>\obj\project.assets.json' doesn't have a target for 'net7.0' when targeting .NET8
Having upgraded an ASP.NET Core project from .NET7 to .NET8, I got an error when trying to publish it. This blog post is my note to remind me how to fix it

