I'm trying to create a ressource in my page of a type defined in another namespace. but on compile, I get an error "Could not load file or assembly 'Hero.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies." What's strange is that intellissence is helping me choose my namespace. The reference is added to my project, I can use the classes in code behind.
Can anyone tell me what's missing? Thanks
Here's my code so far (The last line is giving me the error):
<Page
x:Name="pageRoot"
x:Class="Hero.Metro.Home"
DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Hero.Metro"
xmlns:VM="using:Hero.ViewModel"
xmlns:common="using:Hero.Metro.Common"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Page.Resources>
<common:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
<VM:RacesList x:Key="RacesList"/>