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

Feedback - Issue beginning from Blank template #5374

Open
Yebbenbe opened this issue Mar 31, 2025 · 0 comments
Open

Feedback - Issue beginning from Blank template #5374

Yebbenbe opened this issue Mar 31, 2025 · 0 comments
Labels

Comments

@Yebbenbe
Copy link

Type of issue

Typo

Feedback

Following this doc, get an error immediately on run.

Severity Code Description Project File Line Suppression State Details
Error MIDL2011 [msg]unresolved type declaration [context]: Microsoft.UI.Xaml.Window [ RuntimeClass 'HelloWorld.MainWindow' ] HelloWorld C:\Users\me\Documents\GitHub\Windows\HelloWorld\HelloWorld\MainWindow.idl 5

Seeing as I have 0 experience with WinUI, I throw this into Co-Pilot, who advises to import "Microsoft.UI.Xaml.Window.idl" into my MainWindow.idl.. When I do this,

Severity Code Description Project File Line Suppression State Details
Error MIDL1001 [msg]cannot open input file [context]Microsoft.UI.Xaml.idl HelloWorld C:\Users\ben.jenkins\Documents\GitHub\Windows\HelloWorld\HelloWorld\midlrt 1

googling gets me some pretty deep answers, and I'm not seeing anything clearly related within Issues.

Page URL

https://learn.microsoft.com/en-us/windows/apps/get-started/start-here?tabs=vs-2022-17-10

Content source URL

https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/get-started/start-here.md

Author

@QuinnRadich

Document Id

2a20f1ff-c80a-902a-559d-e4294dde69e4

Platform Id

6a1b0a68-a0fc-11e0-bcaa-c1d132fe0eb8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant