[MAUI] When I Upgrade The Visual Studio To The Version 17.8.0 With The Code Remains Unchanged,But it Cannot Run

studio XFE 65 Reputation points
2023-11-24T05:27:24.97+00:00

I haven't change the code before and after the upgrade

However, it can run in Debug, but cannot run in Release, during the release compilation process, the compiler did not report any errors, but the compiled program did indeed crash directly, but Debug can run normally.

Before I upgraded the Visual Studio to the Version 17.8.0 both Debug and Release can run normally.

Now I upgrade the Visual Studio to the Version 17.8.1 the problem still not solved.

My .Net Version Is .Net 7.0 and I never change it.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
{count} vote

1 answer

Sort by: Most helpful
  1. studio XFE 65 Reputation points
    2023-11-27T05:57:12.08+00:00

    However, when I change my .NET Version To The .NET 8.0, the problem solved, but I don't know why

    0 comments No comments