@@ -1777,3 +1777,27 @@ VSTest satellite-duplication behavior remain unverified.
17771777 /bl:"$probe\build6.binlog" /v:minimal
17781778# Exit 0; native compilation emitted missing-assembly and runtime-directives warnings.
17791779```
1780+
1781+ ### Native Bazel package follow-up
1782+
1783+ The shared non-SDK policy introduced a required import in the portable
1784+ ` buildTransitive ` targets. The experimental native Bazel package has its own
1785+ file mapping and must ship the same helper beside those targets for each
1786+ portable TFM. Leaving it out breaks consumer evaluation; making the import
1787+ optional would silently omit the policy. The native package validator checks
1788+ the helper in each package framework alongside the existing target files.
1789+
1790+ At source revision ` b590f31afcd74a184aa95bac7f2c7cd69f6cf43d ` , with only
1791+ the new validator assertion applied,
1792+ `pwsh -NoLogo -NoProfile -File .\eng\bazel\validate-mstest-packages.ps1
1793+ -OutputRoot artifacts\bazel-mstest-review-red` built the native package
1794+ closure but exited 1 on the intended missing
1795+ ` buildTransitive/net10.0/MSTest.TestAdapter.AssetPolicy.targets ` entry.
1796+ With the file mapping added, the identical validator using
1797+ ` -OutputRoot artifacts\bazel-mstest-review-green ` exited 0. It verified the
1798+ helper for net10.0 and net11.0, then published and ran both real package
1799+ consumers: each passed all three named cases, exercised the intended failure
1800+ and empty-result exits, and the net11 MSBuild driver passed the same three
1801+ cases and its intentional failure check. The green native adapter package
1802+ SHA-256 was
1803+ ` 58B210FD0D79002CA74CBB3176D7F6F96D5DF509569A872F8F05ED351E599C80 ` .
0 commit comments