<feed xmlns='http://www.w3.org/2005/Atom'>
<title>windows-driver-samples.git/Building-Locally.md, branch develop</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/windows-driver-samples.git/atom/Building-Locally.md?h=develop</id>
<link rel='self' href='http://cgit.235523.xyz/windows-driver-samples.git/atom/Building-Locally.md?h=develop'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/'/>
<updated>2026-06-23T17:38:40Z</updated>
<entry>
<title>Auto-discover _NT_TARGET_VERSION; remove the TargetVersion axis</title>
<updated>2026-06-23T17:38:40Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-23T17:38:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=ceceab78412feefd2f343a0e3bc07f1262665b62'/>
<id>urn:sha1:ceceab78412feefd2f343a0e3bc07f1262665b62</id>
<content type='text'>
- Remove the -TargetVersion parameter and all its plumbing from Build-Samples.ps1 (restoring
  the original hard-coded -p:TargetVersion=Windows10), and drop the TargetVersions column from
  exclusions.csv and Import-SampleExclusions. Only _NT_TARGET_VERSION remains exposed.
- Add Get-NtTargetVersions.ps1, which auto-discovers the valid _NT_TARGET_VERSION values (and
  their NTDDI codes) by parsing the active WDK's DriverGeneral.xml rule. Build-Samples.ps1 uses
  it to validate -NtTargetVersion, default to the latest, and map to the msbuild code, so a new
  WDK version needs no script change (accepts '10.0.&lt;build&gt;' or the short '&lt;build&gt;' tag).
- CI: ci.yml and ci-pr.yml gain a 'discover' job that emits the newest-N versions as JSON; the
  build matrix consumes it via fromJSON, so there is no hand-maintained version list anywhere.
  Build-ChangedSamples.ps1 treats Get-NtTargetVersions.ps1 as a full-build trigger.
- Docs updated accordingly.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Add NT-version-scoped exclusions and a parallel multi-version CI matrix</title>
<updated>2026-06-23T00:31:47Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-23T00:31:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=be91bbd2dc4478a57a4007fc32fe320da79f85e1'/>
<id>urn:sha1:be91bbd2dc4478a57a4007fc32fe320da79f85e1</id>
<content type='text'>
Exclusions:
- Add MinNtTargetVersion/MaxNtTargetVersion columns to exclusions.csv so a row can apply
  only within an _NT_TARGET_VERSION build-number range (parsed from -NtTargetVersion, e.g.
  22000 from 10.0.22000). Import-SampleExclusions filters this range at load time alongside
  the existing build-number range; blank = unbounded.
- Exclude the samples that fail only when linking against older library sets, with the
  reason taken from the build logs: audio.sysvad (&lt;=22000, KSJACK_DESCRIPTION3);
  network.netadaptercx.netvadapter and network.wlan.wificx (&lt;=22621, NDIS/DDI version);
  powerlimit.plclient/plpolicy (&lt;=22621, POWER_LIMIT_ATTRIBUTES); storage classpnp/storahci
  (&lt;=22621, STOR_ADDRESS_TYPE_NVME, Debug-only) and storage.msdsm (Debug|x64). usb.usbview is
  intentionally NOT excluded: it fails on every version for a known host reason (missing
  .NET 4.7.2/4.8.1 targeting packs).

CI:
- ci.yml and ci-pr.yml: add _NT_TARGET_VERSION as a manual matrix axis (4 newest versions,
  latest-first) so each version x configuration x platform runs on its own parallel runner.
- Build-Samples.ps1 and Join-CsvReports.ps1 now write an easy-to-scan Markdown summary to
  GITHUB_STEP_SUMMARY: each build job shows counts and a failures table with the first error;
  the report job shows per-version totals and a consolidated failures list, plus the
  colour-coded sample x version HTML/CSV overview.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Add -NtTargetVersion to build samples against older WDK library sets</title>
<updated>2026-06-22T22:52:55Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-22T22:52:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=6c6c308f1fe6ec1ce2ce7d0d7b3b455305a4a346'/>
<id>urn:sha1:6c6c308f1fe6ec1ce2ce7d0d7b3b455305a4a346</id>
<content type='text'>
Expose the WDK '_NT_TARGET_VERSION' property (the OS version of the libraries
the driver links against) as -NtTargetVersion / WDS_NtTargetVersion. Unlike
-TargetVersion (Target OS Version), this does not change the platform model, so
Universal/Windows Driver samples keep building on Windows 10 while linking
against an older library set.

The parameter accepts the Windows build number (e.g. 10.0.22000), maps it to the
NTDDI code from the WDK DriverGeneral.xml rule, and passes -p:_NT_TARGET_VERSION
to msbuild (threaded through Build-SingleSample and the parallel runspace). It
defaults to the latest (10.0.28000) and is surfaced in the build plan, summary,
and HTML report title. Documented in Building-Locally.md.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Support TargetVersion-scoped rules in exclusions.csv</title>
<updated>2026-06-22T20:54:56Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-22T20:54:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=a659bfc6b48a908a0b244d32de575bcf30033e7b'/>
<id>urn:sha1:a659bfc6b48a908a0b244d32de575bcf30033e7b</id>
<content type='text'>
Add an optional TargetVersions column to exclusions.csv so an exclusion can
be limited to specific target OS versions (e.g. exclude ARM only when
building Windows8). The column holds a ';'-separated list of -like patterns
matched against -TargetVersion; blank or '*' means all versions, so every
existing row stays applicable to all targets.

Import-SampleExclusions now takes -TargetVersion and filters rows by it at
load time (alongside the existing MinBuild/MaxBuild range); a missing column
is treated as '*' for backward compatibility. Document the new column and an
example in Building-Locally.md.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Expose TargetVersion parameter in Build-Samples.ps1</title>
<updated>2026-06-22T19:38:36Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-22T19:38:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=167a11ba7b1fd981755921f604106b6dbce6ec99'/>
<id>urn:sha1:167a11ba7b1fd981755921f604106b6dbce6ec99</id>
<content type='text'>
Add a validated -TargetVersion parameter (also settable via the
WDS_TargetVersion environment variable) so samples can be built for older
target OS versions. Valid values come from the WDK DriverGeneral.xml rule
and default to the latest, Windows10:
  Windows10 (Windows 10 or higher), WindowsV6.3 (Windows 8.1),
  Windows8 (Windows 8), Windows7 (Windows 7).

The value is threaded through Build-SingleSample into the msbuild
invocation (replacing the hard-coded TargetVersion=Windows10) and across
the parallel runspace, and is surfaced in the build plan, final summary,
and HTML report title. Document the new parameter in the script help and
Building-Locally.md.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>docs: streamline Building-Locally.md and fix typos</title>
<updated>2026-04-07T22:29:58Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-04-07T22:29:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=3a10b3c1ed4a2e611311e9ea3e931fc65fe1a9e8'/>
<id>urn:sha1:3a10b3c1ed4a2e611311e9ea3e931fc65fe1a9e8</id>
<content type='text'>
Simplify prerequisites with environment-specific requisites section,
remove redundant build commands per WDK type since the script
auto-detects. Fix typo (Enviroment), casing (powershell), formatting.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>docs: rewrite Building-Locally.md for clarity</title>
<updated>2026-04-02T21:45:56Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-04-02T21:45:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=c4c1704e398b8ca96bf25f519802ae86182c140f'/>
<id>urn:sha1:c4c1704e398b8ca96bf25f519802ae86182c140f</id>
<content type='text'>
Restructure the document into a logical flow:
1. Prerequisites — tools (winget), WDK download link, repo clone
2. Building the Samples — NuGet, EWDK, WDK MSI/winget subsections with -RunMode intro
3. Expected Output — build plan and completion summary
4. Ways to Run — common Build-Samples.ps1 invocations
5. Additional Notes — pre-release WDK, usbview .NET packs, NuGet version pinning

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Remove redundant specific-samples example from Building-Locally.md</title>
<updated>2026-03-30T22:45:36Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:45:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=8056a2723c732809b4ca684666ac08385f6e835f'/>
<id>urn:sha1:8056a2723c732809b4ca684666ac08385f6e835f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support wildcard patterns in -Samples parameter</title>
<updated>2026-03-30T22:43:16Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:43:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=83cfa72cc265ab052100563cfc2e8c9d9b6020ba'/>
<id>urn:sha1:83cfa72cc265ab052100563cfc2e8c9d9b6020ba</id>
<content type='text'>
- When -Samples contains wildcards (* or ?), discover all samples first
  then filter with -like (same pattern style as exclusions.csv)
- Exact sample names still work as before without discovery overhead
- Update parameter docs, examples, and Building-Locally.md
</content>
</entry>
<entry>
<title>Remove Build-AllSamples.ps1 and Build-SampleSet.ps1 in favor of Build-Samples.ps1</title>
<updated>2026-03-30T22:26:00Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:26:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d92950792737971182298c34d7efa445fbb23728'/>
<id>urn:sha1:d92950792737971182298c34d7efa445fbb23728</id>
<content type='text'>
- Delete Build-AllSamples.ps1 and Build-SampleSet.ps1 (replaced by Build-Samples.ps1)
- Update ci.yml workflow to call Build-Samples.ps1
- Update Build-ChangedSamples.ps1 to call Build-Samples.ps1
- Rewrite Building-Locally.md Step 6 with new script usage and output format
- Update Step 7 NuGet notes to reference Build-Samples.ps1
</content>
</entry>
</feed>
