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

Plugin not building with Visual Studio 17.10.4 #320

Open
mahebisht opened this issue Jul 15, 2024 · 5 comments
Open

Plugin not building with Visual Studio 17.10.4 #320

mahebisht opened this issue Jul 15, 2024 · 5 comments

Comments

@mahebisht
Copy link

I recently updated Visual Studio from 17.10.2 to 17.10.4.
After this update solutions is not building due to Plugin.Firebase. Is this known issue?

@improwise
Copy link

You should probably include the error message as well.

@mahebisht
Copy link
Author

mahebisht commented Jul 15, 2024

MauiApp1.zip
Hi,

There is no error but the build process is stuck in a continuous loop.
If only build for Android framework then build stops and no continuous loop. Build also stops if I use old versions of Plugin.Firebase (2.0.14) and no continuous loop.
TargetFrameworks>net8.0-android34.0 TargetFrameworks>

build process is stuck in a continuous loop while using multi target with Plugin.Firebase ("3.0.0")
TargetFrameworks>net8.0-android34.0;net8.0-ios <TargetFrameworks

Note: I am checking this scenario in Windows Laptop with Visual Studio(17.10.4). Please find the attached Zip file for sample project

@AdamEssenmacher
Copy link
Collaborator

A build log would be helpful.

Without that, try clearing your XamarinBuildDownload cache and make sure you've followed all of the instructions at https://github.com/AdamEssenmacher/GoogleApisForiOSComponents

@mahebisht
Copy link
Author

mahebisht commented Jul 18, 2024

Hi Adam,

This is the build log.
Rebuild started at 7:48 pm...
1>------ Rebuild All started: Project: MauiApp1, Configuration: Debug Any CPU ------
Restored E:\MauiApp1\MauiApp1\MauiApp1.csproj (in 1.48 sec).
1>MauiApp1 -> E:\MauiApp1\MauiApp1\bin\Debug\net8.0-android34.0\MauiApp1.dll

I cleared XamarinBuildDownload cache and followed all of the instructions at (https://github.com/AdamEssenmacher/GoogleApisForiOSComponents)

I also added 1 sample project with minimal configuration. I am building in Windows 11

MauiApp1.zip

@mahebisht
Copy link
Author

Hi Adam,

I am able to solve it after building Android and iOS separately before opening the Visual Studio.

dotnet build -f net8.0-android34.0
dotnet build -f net8.0-ios

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

3 participants