-
Notifications
You must be signed in to change notification settings - Fork 3
Create copilot-setup-steps.yml for .NET 9 #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: jongalloway <[email protected]>
|
@copilot Isn't there a standard dotnet setup action that could be used instead of curl and bash? |
Co-authored-by: jongalloway <[email protected]>
You're absolutely right! I've updated the installation to use standard Microsoft installation methods instead of the manual curl/bash approach. The new version uses apt for Ubuntu/Debian, Homebrew for macOS, and falls back to the official install script only when needed - similar to how actions/setup-dotnet works internally. See commit 29a20fb. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request introduces a new configuration file, copilot-setup-steps.yml, which automates the setup of the .NET 9 development environment for the NLWebNet repository.
- Adds steps to install the .NET 9 SDK via various package managers and official scripts
- Includes steps to restore NuGet packages, build the solution, and verify the setup
- Provides clear instructions to streamline development setup for contributors
copilot-setup-steps.yml
Outdated
|
|
||
| # For macOS with Homebrew | ||
| elif command -v brew &> /dev/null; then | ||
| brew install dotnet |
Copilot
AI
Jun 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using 'brew install --cask dotnet-sdk' for macOS installation based on the latest installation guidelines to ensure the correct .NET SDK is installed.
| brew install dotnet | |
| brew install --cask dotnet-sdk |
|
@copilot We only need instructions that work on ubuntu. Maybe the install scripts were better to start with. |
Co-authored-by: jongalloway <[email protected]>
Added
copilot-setup-steps.ymlconfiguration file to provide GitHub Copilot with automated setup instructions for the .NET 9 development environment required by this repository.Changes Made
copilot-setup-steps.ymlin the repository root with comprehensive setup steps:dotnet restoreWhy This Change?
All projects in this repository target .NET 9:
src/NLWebNet/NLWebNet.csprojuses<TargetFramework>net9.0</TargetFramework>demo/NLWebNet.Demo.csprojuses<TargetFramework>net9.0</TargetFramework>This setup file ensures GitHub Copilot can automatically configure the correct development environment when working with this repository, eliminating manual setup steps for contributors.
Validation
Fixes #12.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.