microsoft / microsoft/WindowsAppSDK-Samples
[WinML] SqueezeNet .targets file needs refactoring to move away from Copy tasks
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.