microsoft / microsoft/WindowsAppSDK-Samples

[WinML] SqueezeNet .targets file needs refactoring to move away from Copy tasks

Open
#569 0 comments 0 reactions 1 assignee View on GitHub

@adrastogi is already working on this.

Since Nov 10, 2025.

Dominant language
PowerShell
Stars
1k
Forks
335
Avg merge
5d 1h
Merged PRs (30d)
8

Description

This issue is related to the targets file here in the Windows ML samples: https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/Samples/WindowsML/Resources/SqueezeNetModel.targets

The targets file leverages MSBuild's Copy task to ensure various dependencies make their way to the outputs of the WinML samples that need them.

From code inspection of the targets file below (h/t @Scottj1s), we should not be using this task, and instead leverage ItemGroup and None, either as entries in the individual project files or in a shared props file- which will give better predictability on ensuring these files land in the right places across all build scenarios.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.