Open amnk2015 opened 5 months ago
I am trying to add a tab inside my page. this is my code. I am getting this error. Please help me to fix this.
Error : System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'
`<?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="DriveMeSL.View.HomePage" xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material" xmlns:input="clr-namespace:InputKit.Shared.Controls;assembly=InputKit.Maui" xmlns:validation="clr-namespace:InputKit.Shared.Validations;assembly=InputKit.Maui" xmlns:m="clr-namespace:UraniumUI.Icons.MaterialSymbols;assembly=UraniumUI.Icons.MaterialSymbols">
`
Hi, have you configured UseUraniumUI() and UseUraniumUIMaterial() in the MauiProgram.cs ?
UseUraniumUI()
UseUraniumUIMaterial()
BTW, do you add tabs dynamically at runtime? If yes can you share how do you add?
I am trying to add a tab inside my page. this is my code. I am getting this error. Please help me to fix this.
Error : System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'
`<?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="DriveMeSL.View.HomePage" xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material" xmlns:input="clr-namespace:InputKit.Shared.Controls;assembly=InputKit.Maui" xmlns:validation="clr-namespace:InputKit.Shared.Validations;assembly=InputKit.Maui" xmlns:m="clr-namespace:UraniumUI.Icons.MaterialSymbols;assembly=UraniumUI.Icons.MaterialSymbols">
`