Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android App.xaml: The type 'XamlControlsResources' was not found. #8785

Closed
qcwgithub opened this issue May 16, 2022 · 2 comments
Closed

Android App.xaml: The type 'XamlControlsResources' was not found. #8785

qcwgithub opened this issue May 16, 2022 · 2 comments
Labels
area/solution-templates Categorizes an issue or PR as relevant to the solution template difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working

Comments

@qcwgithub
Copy link

Current behavior

In Android project App.xaml, it says

Error	XLS0414	The type 'XamlControlsResources' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

Expected behavior

It should behaviour like what it does in UWP project:

You put mouse on 'XamlControlsResources', and it says 'Microsoft.UI.Xaml.Controls.XamlControlResources'

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

I didn't put App.xaml in .Shared project. I copied it to each platform.

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

No response

Affected platforms

Android

IDE

Visual Studio 2019

IDE version

Microsoft Visual Studio Community 2019 Version 16.11.1

Relevant plugins

No response

Anything else we need to know?

No response

@qcwgithub qcwgithub added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels May 16, 2022
@jeromelaban jeromelaban added area/solution-templates Categorizes an issue or PR as relevant to the solution template and removed triage/untriaged Indicates an issue requires triaging or verification labels May 16, 2022
@jeromelaban
Copy link
Member

Thanks. This is a visual studio integration issue that we do not have control over at this point. The best resolution at this time is to select the UWP project in the top-left corner of the editor.

@MartinZikmund MartinZikmund changed the title Android App.xaml: The type 'XamlControlsResources' was not found. Android App.xaml: The type 'XamlControlsResources' was not found. Jul 27, 2023
@MartinZikmund
Copy link
Member

Closing as duplicate of #8774

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/solution-templates Categorizes an issue or PR as relevant to the solution template difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants