Unexpected pUpgradeRequired value returned for a VS 2022 solution with WPF(.Net core).

eddy 6 Reputation points
2022-05-27T11:23:01.51+00:00

A VSIP package built using VS2022 SDK , returns pUpgradeRequired as true when UpgradeProject_CheckOnly method is invoked for a solution file for project typ(WPF(.net Core) ).
This issue is not occuring for (WPF(.net framework) and other project type templates.

Would appreciate if someone can let me know if this is the right and complete way to check if upgrade is required or not. ?

Steps -

  • Open Vs2022 and create one project of WPF(.net core) type.
  • Add that project in source control (our own source control).
  • Close Vs2022.
  • Open Vs2022 again and from file open that solution and found Vs2022 showing dialog for upgrade required.
Community Center | Not monitored
{count} vote

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.