Octane.Xam.VideoPlayer -Type o:VideoPlayer not found

NeoMonkeyNeoMonkey Member

Hi

I am developing an App using the Octane.Xam.VideoPlayer (which incidentally) has just had new version release 2.0 a few hours ago, but these problems are the same no matter which version I use.

I am new to Xamarin but not C# or coding in general. I am developing a Xamarins.Forms app for Android and iOS. Using iOS as initial test at the moment. I have included Nuget Package Octane.Xam.VideoPlayer for the Droid and iOS projects.

My ItemPage.xaml looks the same as the example it gives on the plugin website, obviously the Class name is different.

[NOTE: i cannot post the Xaml here as i am new and even if i wrap it in code tags this forum is telling me i am not allowed to post links ]

My ItemsPage.xaml.cs file has the dependency added.

            using Octane.Xam.VideoPlayer;

I keep getting the error "Type o:VideoPlayer not found in xmlns clr-namespace:Octane.Xam.VideoPlayer;assembly=Octane.Xam.VideoPlayer"

Full stacktrace is below, this is with both iOS emulator and actual device. Removing the line "o:VideoPlayer" Tag results in no problems.

Xamarin.Forms.Xaml.XamlParseException: Position 8:6. Type o:VideoPlayer not found in xmlns clr-namespace:Octane.Xam.VideoPlayer;assembly=Octane.Xam.VideoPlayer at Xamarin.Forms.Xaml.CreateValuesVisitor.Visit (Xamarin.Forms.Xaml.ElementNode node, Xamarin.Forms.Xaml.INode parentNode) [0x00040] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\CreateValuesVisitor.cs:48 at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x000ab] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\XamlNode.cs:149 at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x00078] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\XamlNode.cs:203 at Xamarin.Forms.Xaml.XamlLoader.Visit (Xamarin.Forms.Xaml.RootNode rootnode, Xamarin.Forms.Xaml.HydrationContext visitorContext) [0x00054] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\XamlLoader.cs:138 at Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.String xaml) [0x0004b] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\XamlLoader.cs:89 at Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.Type callingType) [0x0002f] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\XamlLoader.cs:68 at Xamarin.Forms.Xaml.Extensions.LoadFromXaml[TXaml] (TXaml view, System.Type callingType) [0x00000] in D:\agent\_work\1\s\Xamarin.Forms.Xaml\ViewExtensions.cs:36 at ProjectV2.ItemsPage.InitializeComponent () [0x00001] in /Users/waseem/Projects/ProjectV2/iOS/obj/iPhoneSimulator/Debug/ProjectV2.iOS.Views.ItemsPage.xaml.g.cs:19 at ProjectV2.ItemsPage..ctor () [0x00008] in /Users/waseem/Projects/ProjectV2/ProjectV2/Views/ItemsPage.xaml.cs:23 at ProjectV2.MainPage..ctor () [0x0001f] in /Users/waseem/Projects/ProjectV2/ProjectV2/Views/MainPage.cs:16 at ProjectV2.App.Quit () [0x00039] in /Users/waseem/Projects/ProjectV2/ProjectV2/App.xaml.cs:22 at ProjectV2.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00007] in /Users/waseem/Projects/ProjectV2/iOS/AppDelegate.cs:15 at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/5665/6857dfcc/source/xamarin-macios/src/UIKit/UIApplication.cs:79 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/5665/6857dfcc/source/xamarin-macios/src/UIKit/UIApplication.cs:63 at ProjectV2.iOS.Application.Main (System.String[] args) [0x00001] in /Users/waseem/Projects/ProjectV2/iOS/Main.cs:16

Sign In or Register to comment.