timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

WinRT information: The type 'BrushToColorConverter' was not found. #138

Closed yoitsro closed 11 years ago

yoitsro commented 11 years ago

When debugging on WinRT, I get the error: WinRT information: The type 'BrushToColorConverter' was not found.

When debugging on Windows 8, I don't get these problems. I'm not entirely sure why this is happening, but it's rather frustrating :(

Please help :)

timheuer commented 11 years ago

I don't understand the difference between "Windows 8" and "WinRT" -- they are the same if you are using this library. Please describe how you are using this library and provide repro steps.

yoitsro commented 11 years ago

I'm using the package found on NuGet. I'm using it as the demos show. I'm remote debugging on an Asus Vivo Tab RT (ie, the ARM architecture). When I do this, I receive the following issue when I try to navigate to the page containing the control:

winrt.png

Would a stacktrace be helpful?

timheuer commented 11 years ago

Not really. It looks like the package is not containing the right bits. Can you confirm on the remote device you see Callisto in the package directory with the generic.xaml there?

yoitsro commented 11 years ago

As I'm remote debugging, I'm not 100% sure where it's putting the package, but I think it's at C:\Users\UserName\AppData\Local\Packages\PackageID. Is that right? If so, I'm not seeing the Callisto directory/package.

timheuer commented 11 years ago

This might be hard for me to debug without seeing the machine. It sounds like the problem is something missing in the package. One thing might try is to actually create a package and then install that on the other machine to see if there is a difference in remote debug versus installing the package.

yoitsro commented 11 years ago

I can confirm that the Generic.xaml file is definitely in the package folder located at C:\Users\UserName\AppxLayout\PackageID\Callisto\themes.

dotMorten commented 11 years ago

What about 'BrushToColorConverter' ? Is it defined in there or any where else?

yoitsro commented 11 years ago

It is defined in there and there only.

timheuer commented 11 years ago

Are you using BrushToColorConverter anywhere else in your app? What I mean here is outside of any Callisto control.

yoitsro commented 11 years ago

Definitely not used anywhere else in my app.

yoitsro commented 11 years ago

I don't suppose you have an RT device to test on, do you?

timheuer commented 11 years ago

I've tested on my Surface device and cannot reproduce it.