ProgressRingPlugin icon indicating copy to clipboard operation
ProgressRingPlugin copied to clipboard

XAML compilation error

Open kierantaylor opened this issue 8 years ago • 3 comments

Hello,

I am getting a XAML compilation error of X when using AnimationLength="4000".

I am getting an opcode error.

<control:ProgressRing RingThickness="10" AnimatedProgress="0.75" Progress="0.56" HeightRequest="100" WidthRequest="100" AnimationLength="400" RingBaseColor="LightGray"/>

image

kierantaylor avatar Apr 18 '18 18:04 kierantaylor

Hm note quite sure why this happens - with the following xaml page everything works fine on my side:

<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:TestProgressRing"
    xmlns:progressring="clr-namespace:ProgressRingControl.Forms.Plugin;assembly=ProgressRing.Forms.Plugin"
    x:Class="TestProgressRing.TestProgressRingPage">
	<progressring:ProgressRing RingThickness="30" AnimationEasing="6" AnimationLength="400" AnimatedProgress="0.75" />
</ContentPage>

Could you share your whole xaml page? Does this error occure on Android and/or iOS? I just tested it on an Android 8 Emulator.

Thanks!

AndreasHennig avatar Apr 22 '18 19:04 AndreasHennig

I am getting Same XAML compilation error when using AnimationLength .Did you get any solution for it? i am getting opcode error.

Bhaupatil1988 avatar May 17 '18 06:05 Bhaupatil1988

@Bhaupatil1988 Hi, I didn't find a solution to it for myself, I just removed it and didn't specify an AnimationLength. Honestly I haven't looked into it after I posted on here, maybe you could try using a lowe version and seeing if it has the same problem?

kierantaylor avatar May 17 '18 07:05 kierantaylor