How to fix design/Size issue after upgrade existing windows form app from framework 4.8 to core 7 version

Bharat Patel 0 Reputation points
2023-04-25T05:46:16.4533333+00:00

The design of the application not look like an older application available in framework 4.8.

we have done following step from upgrade application:

  1. create new Dot Net Core app with 7.0 version
    2)Copy all form from older application to newly created app.
    3)After successfully build we have check application and design getting unexpected.

so can you pls guide to how we can resolve issue easyly?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jack J Jun 24,496 Reputation points Microsoft Vendor
    2023-04-25T08:01:57.57+00:00

    @Bharat Patel, Welcome to Microsoft Q&A,

    Please consider the following dependencies before you migrate a Windows Forms application:

    • Project files for .NET use a different format than .NET Framework.
    • Your project might use an API that isn't available in .NET.
    • Third-party controls and libraries might not have been ported to .NET and remain only available to .NET Framework.
    • Your project uses a technology that is no longer available in .NET.

    Then, I recommend that you used the upgrade assistant to update your winform from .net 4.8 to .net 7. How to migrate a Windows Forms desktop app to .NET 5

    You could refer to the above link to upgrade your winform app.

    Hope my solution could help you.

    Best Regards,

    Jack

    If the answer is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    0 comments No comments