SegmentedControl
SegmentedControl copied to clipboard
Does not compile with Xamarin.Forms 3.5.0.129452
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
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
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 - please look on: SegmentedControl-Test This solution was created especially for checking your Control on Empty Solution without side effects from other packages.
And it works on iOS and Android, but still can't build for UWP:
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.
Thank you @titolim, when new package will be available I will try if it will fix the problem
After Tab Click my tab name and Underline Remove, and if we change page back to previous page tab name and Underline HIghlight