Can't export to windows platform package.

I use UE 5.2. When I export to windows platform package, it gives error as shown in screenshot attached here. I tried installing visual studio 2022, .net 3.1 and SDK. But nothing working. I get same error.
I would be grateful for any help.

Do you use any marketplace assets?

I have the same problem. I cannot package my game at all BUT if I disable all plugins from the marketplace than I suddenly can package no problem…

Try that out. Maybe that is the problem and a bug in the engine