Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio MSBuild process freezes after update to v.3 #371

Open
kofanov opened this issue Nov 14, 2024 · 6 comments
Open

Visual Studio MSBuild process freezes after update to v.3 #371

kofanov opened this issue Nov 14, 2024 · 6 comments

Comments

@kofanov
Copy link

kofanov commented Nov 14, 2024

Hello!

After two days spent searching and solving the problem, I decided to share the solution with you.

The other day, I updated the Plugin version.Firebase.Cloud Messaging to 3.1.1. At that time, I was making improvements on the .NET MAUI project in VS Code on Mac. But when I forgot about it and returned to Visual Studio on Windows, I found that the application was not randomly built. I found that the studio runs a lot of MSBuild processes and they just hang. Stopping one of the processes starts a further build, which does not always end successfully. Since my solution consists of more than 130 projects, it was extremely difficult to detect the problem. As a result, it turned out that the whole problem was updating this plugin.

@sportmoltas
Copy link

Same experience when upgrading it to v3. It never finish building my Maui project. It is the same when I trying to build on the commandline.

@Grzesik
Copy link

Grzesik commented Jan 15, 2025

I have the same problem.

  1. In Windows / Visual Studio, when I create a demo project, I can debug it on iOS. It is enough to add the Plugin.FirebasePushNotifications ( my actual version is 3.0.28)to the project and I can't debug it on iOS any more. The app can't be build.
  2. On Mac / Rider I can debug the app, even with the Nuget, but I can't create a Release version to test the app.
  3. It works, when I create the app in DevOps/Pipeline and push it to TestFlight

@AdamEssenmacher
Copy link
Collaborator

@Grzesik Plugin.FirebasePushNotifications is a completely different project. You might be in the wrong place.

@Grzesik
Copy link

Grzesik commented Jan 15, 2025

@AdamEssenmacher
Sorry, I mean I have the problems with Plugin.Firebase.CloudMessaging version "3.1.1.

When I create an demo project and add the Nuget

it works fine. Maybe it could help you to solve the problem

@AdamEssenmacher
Copy link
Collaborator

Windows/Visual Studio is known to hang sometimes when using XamarinBuildDownload: dotnet/android-libraries#1047

As discussed in the issue, you can work around it by manually extracting needed files into your XamarinBuildDownload cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants