Referencing clr-namespace for converters - failed to resolve assembly

robinlurobinlu Member
edited December 2018 in Xamarin.Forms

I have a xamarin forms solution with a standard .net library and iOS and android projects. in the standard .net library I have added a converters directory with the namespace Tracker.viewmodels.converters.

I am trying to reference the converter in xaml. I have tried the following:

xmlns:local="clr-namespace:Tracker" xmlns:cv="clr-namespace:Tracker.ViewModels.Converters" x:Class="Tracker.Views.CategoriesPage"

and then try to use

my converter class looks like this:

using System;
using System.Globalization;
using Xamarin.Forms;

namespace Tracker.ViewModels.Converters
public class InverseBoolConverter : IValueConverter

How does this work in Xamarin? I am getting a compile error Failed to Resolve assembly Tracker.dll.


Sign In or Register to comment.