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

DevCheck -CheckDependencies exitcode. Fix dependencies #4866

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

DrusTheAxe
Copy link
Member

@DrusTheAxe DrusTheAxe commented Nov 8, 2024

DevCheck -CheckDependencies spots package dependencies that don't match the sanctioned list in eng\Verison.*.xml but it didn't set the exitcode if violators found so builds would detect violators, printf some message in a wall of text no one looks at and continue on.

Fixed to set exitcode so the build pipeline should abort if problem(s) are found

This turned up a few problems in the repo. Fixed (else this DevCheck fix couldn't be checked in)

TODO: something wrong with the WindowsAppRuntime_UniversalBGTaskDLL project

@DrusTheAxe DrusTheAxe added the area-Infrastructure Build, test, source layout, package construction (TODO: move to Deployment, DeveloperTools) label Nov 8, 2024
@DrusTheAxe DrusTheAxe added this to the 1.7 milestone Nov 8, 2024
@DrusTheAxe DrusTheAxe self-assigned this Nov 8, 2024
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…t.Windows.SDK.BuildTools. The tools are already present in the Windows Platform SDK so there shouldn't be a need for this addition. Hopefully this is the root problem behind the build failures
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

I think I understand why the build breaks. Fix is simple or less so, but either way invasive. Discussing with @godlytalias to understand which way I should pivot. Update RSN

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

… in .vcxproj, fixed explicit versions to use central versioning (eng\Version.*), removed unnecessary dependencies, removed compiler/linker settings set project wide (see Directory.Build.props), adding missing Copyright, etc. Same output (and hopefully build pipeline won't choke now)
@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure Build, test, source layout, package construction (TODO: move to Deployment, DeveloperTools) needs-triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants