SegmentedControl icon indicating copy to clipboard operation
SegmentedControl copied to clipboard

Does not compile with Xamarin.Forms 3.5.0.129452

Open JRGit4UE opened this issue 5 years ago • 7 comments

With Mangage Nuget Packages for Solution on VS 2017, updated to the latest Xamarin.Forms 3.5.0.129452 Android project failed with SegmentedControl.FormsPlugin.Android\SegmentedControlImplementation.cs(4,30,4,37): error CS0234: The type or namespace name 'Android' does not exist in the namespace 'Xamarin.Forms.Platform' (are you missing an assembly reference?)

and subsequent errors

JRGit4UE avatar Feb 19 '19 17:02 JRGit4UE

For me fails also, but only UWP Project:

 FC.Forms.UWP -> C:\***\FC.Forms.UWP\bin\x86\Debug\FC.UWP.exe
7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2780,5): error APPX0702: Payload file 'C:\Users\***\.nuget\packages\segmentedcontrol.formsplugin\2.0.1\lib\UAP10\SegmentedControl.FormsPlugin.UWP\SegmentedControl.FormsPlugin.UWP.xr.xml' does not exist.

I'm testing it with 2.0.1 package version

The sane with version 2.0.0

Unfortunately UWP is one of our target platform for mine project

bbenetskyy avatar Mar 12 '19 13:03 bbenetskyy

Guys, I don't have any issue on my side. I'm running UWP with SegmentedControl.FormsPlugin 2.0.1 and Xamarin.Forms 3.6.0.220655. Did you try to clean solution, close visual studio, re-open and rebuild?

titolim avatar Mar 12 '19 17:03 titolim

@titolim - please look on: SegmentedControl-Test This solution was created especially for checking your Control on Empty Solution without side effects from other packages.

bbenetskyy avatar Mar 13 '19 15:03 bbenetskyy

And it works on iOS and Android, but still can't build for UWP: image

bbenetskyy avatar Mar 13 '19 15:03 bbenetskyy

ok well you can create the missing directory "SegmentedControl.FormsPlugin.UWP" under "C:\Users***.nuget\packages\segmentedcontrol.formsplugin\2.0.1\lib\UAP10" and drop the "SegmentedControl.FormsPlugin.UWP.xr.xml" file inside to fix that. The nuget will need to be repackaged.

titolim avatar Mar 13 '19 15:03 titolim

Thank you @titolim, when new package will be available I will try if it will fix the problem

bbenetskyy avatar Mar 14 '19 08:03 bbenetskyy

After Tab Click my tab name and Underline Remove, and if we change page back to previous page tab name and Underline HIghlight

Muhammad-aqib2020 avatar Nov 07 '22 12:11 Muhammad-aqib2020