You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @watson128. There's some disparity between your screenshot and the topic that you link to. So here's what I did:
Your screenshot is showing the source code for the PhotoEditor sample app. So I cloned and built that sample, and it works fine. I don't get an exception on the line of code that you highlight.
Your issue description mentions a thing called "PhotoViewer". I'm not aware of a sample with that name. But you link to the "Tutorial: Create a simple photo viewer with WinUI 3" topic (which builds a project named SimplePhotos, which seems to be the name of your project). I followed all of the steps in that tutorial from top to bottom, and everything worked as expected.
Type of issue
Code doesn't work
Feedback
I have copied the instructions to develop the C# Windows SDK app, PhotoViewer. I have completed all the instructions but when I run the app I get:
![image](https://private-user-images.githubusercontent.com/171358509/335622188-b7a5a398-b70d-4864-ab8a-a8f0fa9a700d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyNjY3MTksIm5iZiI6MTcyMjI2NjQxOSwicGF0aCI6Ii8xNzEzNTg1MDkvMzM1NjIyMTg4LWI3YTVhMzk4LWI3MGQtNDg2NC1hYjhhLWE4ZjBmYTlhNzAwZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyOVQxNTIwMTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02N2ZlMjZmOTMxMDkyMGRiMzU3NGRmNmM0OTI2OWI3NjJkMzhjMzJmYTQ1ZGIwYjI1MDhhNWUwNDhlYzBlMTZkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.aEpz3evWBQ18PVbo6Rkk9GiScdVhLQ6re-Zotmz9rBo)
Page URL
https://learn.microsoft.com/en-us/windows/apps/get-started/simple-photo-viewer-winui3?tabs=cs
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/get-started/simple-photo-viewer-winui3.md
Author
@stevewhims
Document Id
51e8cf41-f09a-864d-26de-66d17727ebfc
The text was updated successfully, but these errors were encountered: