project.assets.json' doesn't have a target for 'net7.0-windows'.

9 months ago
I'm upgrading to 4.60.4, I can select target framework of .NET 7.0, but I do not have a selection for .NET 7.0 windows. And publish produces the following error:

Assets file 'C:\nop\nop_4.6\dev\extractz\Presentation\Nop.Web\obj\project.assets.json' doesn't have a target for 'net7.0-windows'. Ensure that restore has run and that you have included 'net7.0-windows' in the TargetFrameworks for your project.
9 months ago
In my publish profile I selected .NET 7.0 instead of .NET 7.0 Windows.. and the problem went away.