intense icon indicating copy to clipboard operation
intense copied to clipboard

Exception thrown on Settings Split View

Open komainu85 opened this issue 10 years ago • 6 comments

Im seeing the following exception thrown on the settings page of the split view. Fresh install with no modifications.

System.InvalidCastException: Unable to cast object of type 'Windows.UI.Xaml.Controls.ComboBoxItem' to type 'SplitViewApp1.Presentation.DisplayableTheme'. at System.Collections.Immutable.ImmutableList`1.System.Collections.IList.IndexOf(Object value) at System.Runtime.InteropServices.WindowsRuntime.ListToBindableVectorAdapter.IndexOf(Object value, UInt32& index)

komainu85 avatar Apr 12 '16 17:04 komainu85

Interesting. What version of Intense templates are you using? Please include your Windows 10 and Visual Studio 2015 version as well, since it might help in determining the cause of the issue.

kozw avatar Apr 12 '16 19:04 kozw

Using the latest templates from visual studio gallery

I have VS 2015 update 2 and Windows 10 1511

komainu85 avatar Apr 12 '16 20:04 komainu85

I assume you use version 0.5.0 of the templates (you can check in the extensions and updates dialog in VS2015). What nuget version of Intense does your project reference?

kozw avatar Apr 13 '16 08:04 kozw

Yeah its version 0.5.0., nuget references 0.5.0 too

komainu85 avatar Apr 17 '16 10:04 komainu85

Same problem here. Crashes when clicking settings on a desktop Windows 10 PC, compiled as x64. Does NOT crash when running on my Raspberry Pi 3 with Windows IOT (ARM).

The issue has something to do with type conversion on the settings page combobox item.

bvillersjr avatar May 01 '16 11:05 bvillersjr

Marked it as a bug, will need to investigate

kozw avatar May 03 '16 19:05 kozw