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

studio XFE 95 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.

Developer technologies | .NET | .NET MAUI
{count} vote

1 answer

Sort by: Most helpful
  1. studio XFE 95 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

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.