WindowsCommunityToolkit icon indicating copy to clipboard operation
WindowsCommunityToolkit copied to clipboard

Sample app no longer runs on 15063 from branch Master

Open TGoodhew opened this issue 8 years ago • 3 comments

I'm submitting a Bug report (I searched for similar issues and did not find one)

Current behavior

The sample app from the Master branch crashes with an exception on 15063:

Windows.UI.Xaml.Markup.XamlParseException HResult=0x802B000A Message=The text associated with this error code could not be found.

Failed to assign to property 'Windows.UI.Xaml.ResourceDictionary.Source' because the type 'Windows.Foundation.String' cannot be assigned to the type 'Windows.Foundation.Uri'. [Line: 29 Position: 28] Source=Windows StackTrace: at Windows.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation) at App2.MainPage.InitializeComponent() in C:\Users\PAX\source\repos\ToolkitTestApps\InAppNotification\App2\obj\x86\Debug\MainPage.g.i.cs:line 37 at App2.MainPage..ctor() in C:\Users\PAX\source\repos\ToolkitTestApps\InAppNotification\App2\MainPage.xaml.cs:line 29 at App2.BaseTestingApp_XamlTypeInfo.XamlTypeInfoProvider.Activate_12_MainPage() in C:\Users\PAX\source\repos\ToolkitTestApps\InAppNotification\App2\obj\x86\Debug\XamlTypeInfo.g.cs:line 242 at App2.BaseTestingApp_XamlTypeInfo.XamlUserType.ActivateInstance() in C:\Users\PAX\source\repos\ToolkitTestApps\InAppNotification\App2\obj\x86\Debug\XamlTypeInfo.g.cs:line 767

Expected behavior

Sample app should run. The sample app from the store runs correctly on 15063

Minimal reproduction of the problem with instructions

Clone Master branch Build Sample App Hit F5 in Visual Studio Sample app starts loading and then throws the exception

Environment

Windows 10 Build Number:

  • [X] Creators Update (15063)
  • [ ] Fall Creators Update (16299)
  • [ ] April 2018 Update (17134)
  • [ ] Insider Build (build number: )

App min and target version:

  • [X] Creators Update (15063)
  • [ ] Fall Creators Update (16299)
  • [ ] April 2018 Update (17134)
  • [ ] Insider Build (xxxxx)

Device form factor:

  • [X] Desktop
  • [ ] Mobile
  • [ ] Xbox
  • [ ] Surface Hub
  • [ ] IoT

Visual Studio

  • [X] 2017 (version: )
  • [X] 2017 Preview (version: )

TGoodhew avatar Sep 27 '18 21:09 TGoodhew

I built the app using the CU Target version. This issue is related to a missing module inside this toolkit build.

image

There's a similar closed issue: "Cannot find type Windows.UI.Xaml.Markup.MarkupExtension in module Windows.Foundation.UniversalApiContract.winmd". This closed issue refers to another solution from issue # 1855. Please try following the solution from issue #1855.

Bmartin2013 avatar Oct 01 '18 20:10 Bmartin2013

In the linked issue the cause was targeting downlevel on a dev machine of a higher level. In this case the dev machine is 15063 so I don't believe that 1855 applies.

TGoodhew avatar Oct 01 '18 20:10 TGoodhew

We no longer support 15063 as of v5.0 - will not fix this issue

nmetulev avatar Oct 11 '18 22:10 nmetulev