rotorgames / Rg.Plugins.Popup

Xamarin Forms popup plugin
MIT License
1.15k stars 337 forks source link

UWP : Rg.Plugins.Popup.Popup.Init(); causing build error #712

Closed dmsi-leonidl closed 2 years ago

dmsi-leonidl commented 2 years ago

🐛 Bug Report

Rg.Plugins.Popup.Popup.Init(); causing build error: The type or namespace name 'Popup' does not exist in the namespace 'Rg.Plugins.Popup' (are you missing an assembly reference?)

Note: 2.0.0.13 builds and run without problems.

Expected behavior

Builds without errors.

Reproduction steps

Configuration

Windows 10 Enterprise 19043.1288

Microsoft Visual Studio Enterprise 2019 Version 16.11.5

Xamarin Forms 5.0.0.2196

Version: 2.0.0.14 (Latest)

Platform:

TamerIrdais commented 2 years ago

Same Issue here with latest version 2.0.0.14

LuckyDucko commented 2 years ago

@rotorgames i am relatively new to any form of UWP development, are you able to look into this? seems 2.0.0.14 may have missed something with UWP

mhrastegari commented 2 years ago

same issue :(

truXton222 commented 2 years ago

Someone discovered any workaround for this issue?

At moment my only solution is downgrade the library to 2.0.0.13

mfeingol commented 2 years ago

cc @martijn00 - would be nice to have this fixed. Thanks.

LuckyDucko commented 2 years ago

@mfeingol @truXton222 @TamerIrdais @dmsi-leo

I was able to build and run the Demo.UWP without any hassles.

I updated the core project to use the Xamarin.Forms noted in this ticket,

Target Version for Windows 10 : 1809 Min Version 1809

are you able to check this against the Demo Project, and if the demo project works fine, what is the differences in your setup in comparison. [UPDATE] see #707

dmsi-leonidl commented 2 years ago

@LuckyDucko

My project's settings are pretty much the same. The only differences are:

Target Version for Windows 10 : 2004

Nuget packages: Microsoft.NETCore.UniversalWindowsPlatform v6.2.13 Xamarin.Forms v5.0.0.2196 Xamarin.Essentials v1.7.0 ZXing.Net.Mobile.Forms Syncfusion.Xamarin.SfDataForm

TobiVanHelsinki commented 2 years ago

I had the same issue since the last update. The Rg.Plugins.Popup.Popup class seems simply missing, which is weird since there were no changes to that class. Maybe some build error at the nuget pack?

In the meantime I run good with using version 2.0.0.13.

whSwitching commented 2 years ago

same issue happened, target version 2004 min version 1809 the latest 2.0.0.14 did not work, 2.0.0.13 works

hammondreg commented 2 years ago

Answer is simple: no testing or checking is done after every upgrade ..

kumaresan-cgvak commented 2 years ago

Hello @rotorgames @martijn00 Any update on this issue?

Screenshot 2022-02-03 at 5 34 33 PM
martijn00 commented 2 years ago

You are targeting the wrong uwp version.

kumaresan-cgvak commented 2 years ago

@martijn00 Can you please update the same in Wiki. Which will help fellow developers.

Screenshot 2022-02-03 at 6 03 25 PM
pabloat81 commented 2 years ago

Hi, i am facing same issue on UWP. Min target version 10.0.17763. I dont understood in this thread what is the solution.

dmsi-leonidl commented 2 years ago

@pabloat81: I resolved this issue by updating UWP min version to 1903 ( Build 18362). Hope this will help.

tualatin commented 2 years ago

@pabloat81: I resolved this issue by updating UWP min version to 1903 ( Build 18362). Hope this will help.

Crazy, thank you for this helpful hint!