Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Oct 8, 2025

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:

  • Targets only net472 in the main project file (src/code/Microsoft.PowerShell.PSResourceGet.csproj)
  • All CI/CD pipelines exclusively build with -BuildFramework 'net472':
    • .ci/ci.yml
    • .ci/ci_auto.yml
    • .ci/ci_release.yml
    • .pipelines/PSResourceGet-Official.yml
  • Build script (build.ps1) restricts the framework parameter via [ValidateSet("net472")]
  • Documentation (README.md) only includes examples using 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

This section details on the original issue you should resolve

<issue_title>Build for target netstandard2.0 too in CI/CD</issue_title>
<issue_description>### Summary of the new feature / enhancement

If netstandard2.0 is a wanted target framework for PSResourceGet there should be automated tests / builds against it so build does not break in the future:

From what I can see it does not seem CI/CD build for netstandard2.0 currently:

Proposed technical implementation details (optional)

No response</issue_description>

<agent_instructions>Remove any references to build using 'netstandard2.0'</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Fixes #1781

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@Copilot Copilot AI changed the title [WIP] Remove references for netstandard2.0 in CI/CD pipeline Verify no netstandard2.0 build references in repository Oct 8, 2025
@Copilot Copilot AI requested a review from alerickson October 8, 2025 18:33
Copilot finished work on behalf of alerickson October 8, 2025 18:33
@alerickson alerickson closed this Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build for target netstandard2.0 too in CI/CD
2 participants