-
Notifications
You must be signed in to change notification settings - Fork 619
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
Cannot compile and run Xaml-Controls-Gallery #649
Comments
@anawishnoff @MikeHillberg - thoughts? |
I just checked out the Winui3 branch. When I try to run it I get a REGDB_E_CLASSNOTREG exception |
same issues here: copy failures, nuget update failures, COM exception. Previously, I had successfully developed and deployed a UWP application ( not for the store, enterprise internal ) , so I've done UWP deployments before. |
I am trying to build WinUI3 XAML Controls Gallery code in VS2019 and facing compile time issue. Initially, several errors were thrown however updating VS2019 to the latest build resolved all of them except one: Could not copy the file "C:\Users\Amit.Pal.nuget\packages\microsoft.web.webview2\1.0.955-prerelease\build..\runtimes\win-ARM\native_uap\Microsoft.Web.WebView2.Core.dll" because it was not found. The path mentioned in the error message does contain WebView2.Core.dll however I could not understand the reason behind compiler throwing this error message. |
@chingucoding @gregwoo-microsoft this still seems to be an issue? I just cloned the repo and Marcel's PR for breadcrumbs #1015 to try out and couldn't deploy that app.
I'm on VS 2022 17.2.4, and have other WinUI 3 based projects building/running fine. I'm assuming I have to run the package project, if I run the other project I get this instead: (I'd also suggest having a different package identity in the repo compared to the store version so you can run both side-by-side, we do this in the toolkit and it's very handy when checking changes in behaviors for samples.) |
@michael-hawker Can you try out if you can build the PR #989 and see if that works? This might be an issue of trying to deploy the app while an app with the same name is installed. |
@chingucoding, it did prompt me that the app was already installed and if I wanted to overwrite it (or whatever that default dialog is). I clicked 'Yes' as I do with other projects, and then it failed. I'm headed off at the moment, but can try #989 as well later. |
@chingucoding, whatever is done in #989 seemed to have helped. I was able to run it from that branch, have a comment to add there though. :) I'll wait for #989 to be merged and then can circle back on reviewing #1015. |
Is this a totally new sample, an addition to an existing sample page, or a modification of an existing sample page?
If this is an addition/modification to an existing sample page, which one?
How to correctly compile / run the Xaml-Controls-Gallery solution.
Describe the sample
Compile and run the Xaml-Controls-Gallery solution on Windows 10 with a clean install of latest Visual Studio Community 2019 Preview 16.10.0 Preview 1 and required dependencies following the instructions here: https://docs.microsoft.com/en-au/windows/apps/winui/winui3/
I'm on
winui3preview
branch.Is your sample request related to a problem? Please describe it
I'm having problems compiling and running the solution. I would love a from-scratch / clean install tutorial showing step by step how to get this sample project compiling and running. Currently blocked on this.
Additional context
I'm very experienced with VS C++, but more limited .NET experience, although I have used Nuget and .NET professionally. Experienced in Qt dev, interested in evalutating WinUI 3 as an alternative for a large windows desktop project. Given the somewhat complex and varied Windows UI historical tech stack (.NET, XAML, Win32, WinRT, UWP) it would be awesome if it was clarified exactly what this repo is and how to compile and run it, which config to use and when etc. Looks very cool, thanks for any help!
The text was updated successfully, but these errors were encountered: