Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Cannot create xmlns for Xamarin.Forms project namespace

$
0
0

I'm encountering the following compilation error whenever I try to create a XAML namespace for my current project

Error: Failed to resolve assembly: 'TodoQ.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

I have been using a custom control from an external project throughout the project and the compiler has never complained about it. Here is the XAML:

<ContentPage xmlns:util="clr-namespace:TodoQ.Utilities" xmlns:custom="clr-namespace:TodoQ.Controls" xmlns:swipecards="clr-namespace:SwipeCards.Controls;assembly=SwipeCards.Controls" ... x:Class="TodoQ.Views.ItemsPage" Title="{Binding Title}" x:Name="BrowseItemsPage">

As you can see, I have two namespaces which refer to my current Xamarin.Forms project. Neither of which works if I try to use them. On the other hand, the SwipeCards.Controls namespace works perfectly.

Does anybody know what it is I am doing wrong? I'm practically tearing my hair out here. Things are so much simpler with the WPF version of XAML, it all just seems to work there.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>