Verify no netstandard2.0 build references in repository #1890
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses issue #1780 which requests that netstandard2.0 references be removed from the build configuration to prevent future build breaks.
Analysis
After a comprehensive search of the entire repository, I confirmed that no netstandard2.0 references exist in the codebase. The repository is already in the desired state.
Current Build Configuration
The PSResourceGet module currently:
net472
in the main project file (src/code/Microsoft.PowerShell.PSResourceGet.csproj
)-BuildFramework 'net472'
:.ci/ci.yml
.ci/ci_auto.yml
.ci/ci_release.yml
.pipelines/PSResourceGet-Official.yml
build.ps1
) restricts the framework parameter via[ValidateSet("net472")]
net472
Conclusion
No changes were required. The repository already meets the requirement of having no netstandard2.0 build references, preventing the type of build issues mentioned in #1779. All build infrastructure is configured to use net472 exclusively.
Closes #1780
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.