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

Using ResourceDictionary from another assembly compile error

$
0
0

I'm trying to use ResourceDictionary from another assembly in App.xaml like this:

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="pack://application:,,,/UIServiceLib;component/ResourceDictionaries/CommonDictionary.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

and I'm getting compile error:

Invalid URI value: The specified port is invalid.

Rebuilding/cleaning solution didn't help. How can I solve this issue?


Viewing all articles
Browse latest Browse all 77050

Trending Articles