microsoft / microsoft/ebpf-for-windows

Using Convert-BpfToNative.ps1 with -Packages but wrong nuget version of WDK is installed should give better error message

Open
#4,165 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted P3 triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

The combination of using "Convert-BpfToNative.ps1" + wrong nuget or missing nuget fails with a hard to diagnose error. Instead, this should fail with clear error stating that the specified nuget pacakge isn't present.

Contributor guide

Open the contributing guide

Research direction

Start with Convert-BpfToNative.ps1 and trace the -Packages path for missing or mismatched WDK NuGet packages. Reproduce the failure with an unavailable or wrong package version, then verify that the script reports clearly that the specified NuGet package is not present.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.