WindowsAppSDK/eng/Version.Dependencies.xml

38 строки
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Rules for Dependency Management:
1. Dependencies in Version.Details.xml are automagically propogated via Maestro
e.g. if B depends on A v1 and A v2 is published, Maestro updates B's Version.Details.xml to A v2
2. Dependencies in Version.Dependencies.xml are only changed by explicit (manual) developer action
e.g. if B depends on A v1 and A v2 is published, B is unchanged
3. Dependencies' versions in Version.Details.xml and Version.Dependencies.xml are TheMasterSourceOfTruth(TM).
These are literal values. No macro expansion or magic substitution will occur
4. <ProductDependencies><Dependency> are listed in sorted order (alphabetically, case-insensitive)
5. <ToolsetDependencies><Dependency> are listed in sorted order (alphabetically, case-insensitive)
6. <ProductDependencies> appears before <ToolsetDependencies> (aka sorted order, alphabetically, case-insensitive)
7. Dependencies are made available to MSBuild + VisualStudio via Version.Dependencies.props
8. ProductDependencies are made available to MSBuild + VisualStudio as macros in the form name.Replace(".", "").Append("PackageVersion")
9. ToolsetDependencies are made available to MSBuild + VisualStudio as macros in the form name.Replace(".", "").Append("Version")
10. DevCheck.cmd/ps1 -SyncDependencies generates Version.Dependencies.props from Version.Details.xml (if necessary)
11. DevCheck.cmd/ps1 -SyncDependencies updates versions in packages.config to match Version.Details.xml (if necessary)
12. DevCheck.cmd/ps1 -SyncDependencies updates versions in *proj to match Version.Details.xml (if necessary)
13. DevCheck.cmd/ps1 -CheckDependencies verifies Version.Dependencies.props matches Version.Details.xml
14. DevCheck.cmd/ps1 -CheckDependencies verifies packages and versions in packages.config match Version.Details.xml
15. DevCheck.cmd/ps1 -CheckDependencies verifies packages and versions in packages.config match Version.Details.xml
16. DevCheck.cmd/ps1 -CheckDependencies verifies versions in *proj match Version.Details.xml
17. Version.Dependencies.props is a generated file. DO NOT EDIT. Use DevCheck -SyncDependencies
18. POLICY: Dependencies on Transport Packages are expressed as <ProductDependencies> in Version.Details.xml
19. POLICY: Dependencies on non-Transport Packages are expressed as <ToolsetDependencies> in Version.Dependencies.xml
20. POLICY: Update Version.Dependencies.props via "DevCheck -CheckDependencies -SyncDependencies".
NOTE: This is required when adding or removing a dependency
-->
<Dependencies>
<Dependency Name="Microsoft.Build.Tasks.Git" Version="1.1.1"/>
<Dependency Name="Microsoft.SourceLink.Common" Version="1.1.1"/>
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.1"/>
<Dependency Name="Microsoft.Taef" Version="10.94.240624002"/>
<Dependency Name="Microsoft.Telemetry.Inbox.Native" Version="10.0.19041.1-191206-1406.vb-release.x86fre" />
<Dependency Name="Microsoft.Windows.CppWinRT" Version="2.0.230706.1"/>
<Dependency Name="Microsoft.Windows.ImplementationLibrary" Version="1.0.240803.1"/>
<Dependency Name="Microsoft.WindowsAppSDK.Protobuf" Version="3.21.12"/>
</Dependencies>