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

WinUI repo “microsoft-ui-xaml-lift” report a large number of errors after building #9682

Closed
XamlTest opened this issue May 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@XamlTest
Copy link

XamlTest commented May 30, 2024

Describe the bug

Failed to build WinUI repo(https://microsoft.visualstudio.com/DefaultCollection/WinUI/_git/microsoft-ui-xaml-lift) with a large number of errors. The repo can be built successfully before, not sure what's causing these errors (Xaml code, Visual Studio or Virtual Machine).

Such as below screenshots:
image
image
image

Steps to reproduce the bug

Repro Steps:

  1. Clone WinUI repo from https://microsoft.visualstudio.com/DefaultCollection/WinUI/_git/microsoft-ui-xaml-lift
  2. Open Visual Studio go to Tools->Command Line ->Developer Command Prompt to open a Developer CMD prompt.
  3. In the root of repo, run init.cmd
  4. After Initialize successfully.
  5. Run build.cmd.

Actual Result:
ERROR: Build solution for c:\repo\dxaml\Microsoft.UI.Xaml.sln FAILED.
Binlog:
Microsoft.UI.Xaml.amd64chk.zip

Expected behavior

Build Successfully.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000

Windows version

No response

Additional context

Windows Version: 23H2(22631.3593).
VS Version: 17.11.0 Preview 2.0 [34928.264.main]

@XamlTest XamlTest added the bug Something isn't working label May 30, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 30, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@kmgallahan
Copy link
Contributor

AFAIK it is not possible to build from the source. Only MS can create WinUI / WASDK builds.

@codendone
Copy link
Contributor

codendone commented Jun 17, 2024

@kmgallahan is correct. See #8980:

Q: ​Will we be able to build from the source or only view due to private dependencies?

A: To be clear, we are doing shared source, not open source, as there are underlying interwoven components linking WinUI 3 to the system that we can't share. We will not support building, deploying, or running the source code and will not accept PRs for it. We will support viewing, searching, and debugging of the source code when it is available.

That info is also in README.md in the winui3 branch:

Please note that although the source code for WinUI 3 is available in this repository it cannot be compiled by non-Microsoft developers at this time.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage Issue needs to be triaged by the area owners label Jun 17, 2024
@codendone
Copy link
Contributor

I updated my comment above to point to another reference, which can be a little hidden due to being in the winui3/ branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants