-
Notifications
You must be signed in to change notification settings - Fork 646
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
Broken repo build #1659
Comments
I have encountered the same issue here! |
Have you both tried opening WinUIGallery.sln? |
Yes, but later I deleted the entire repository and cloned it again, and then opened the correct sln file, but the problem still exists. |
@AndrewKeepCoding can you clone from scratch and compile with vs 17.12 without issues? |
@moltco I just did it to reconfirm it and works (compiles and runs) both WinUIGallery.sln and WinUIGallery.DesktopWap.sln. 🤔 |
For some reason you might have issues downloading packages from: or some configuration issues on Nuget Package Manager. |
That's what I thought too @AndrewKeepCoding but I can open the link in browser and have no custom nuget or VS configuration so I thought maybe that's a link to a private Microsoft nugetbor somesuch. Will try installing manually with nuget to see where it gets me. |
Same issue here using Visual Studio 17.12.1. Can't even download it manually using nuget, getting this error; I noticed if I try and go to that URL manually via my browser, it opens a log-in prompt. Whereas the other |
Facing the same thing! |
I am able to reproduce this, I needed to delete my locally NuGet cache for this error to occur though (located under As a workaround for now, you can delete the |
Okay, after deleting |
Simple solution. I do expect an "official" solution, because I just had the same issue. |
This issue is definitely on our radar :) |
I think this is related to the changes made to nuget.config in #1636 |
Which version of the app?
WinUI 3 Gallery
Description
I cloned this repo using VS 2022 17.12 Community, opened DesktopWrapper.sln and tried to compile/run the 'Packaged' target as per the readme.md instructions.
The build didn't work. It is broken. It feels dependencies and .csproj files in the solution are at fault.
I get the following errors when trying to build the 'packaged' target:
I tried restoring nuget with runtime identifier any and trying to update nuget packages - it all failed, I guess the .csproj config is preventing nuget from working properly.
Ultimately I am trying to test MediaPlayerElement examples but I can't see a way to test/compile just those examples without the entire repo.
Could anyone help with resolving the build issues until there is a proper fix?
Screenshots
No response
Windows version
Windows 11 24H2 (26052)
Additional context
No response
The text was updated successfully, but these errors were encountered: