1+ # GitHub Copilot Setup Steps for NLWebNet
2+ # This file defines the setup steps needed to work with the NLWebNet repository
3+
4+ name : Setup .NET 9 Environment for NLWebNet
5+ description : Install .NET 9 SDK and restore dependencies for the NLWebNet library and demo application
6+
7+ steps :
8+ - name : Install .NET 9 SDK
9+ description : Download and install the .NET 9 SDK required for building and running the projects
10+ run : |
11+ # Download and install .NET 9 SDK
12+ curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version latest --channel 9.0
13+
14+ # Add .NET to PATH if not already present
15+ if [[ ":$PATH:" != *":$HOME/.dotnet:"* ]]; then
16+ echo 'export PATH="$HOME/.dotnet:$PATH"' >> ~/.bashrc
17+ export PATH="$HOME/.dotnet:$PATH"
18+ fi
19+
20+ # Verify installation
21+ dotnet --version
22+ dotnet --info
23+
24+ - name : Restore NuGet packages
25+ description : Restore all NuGet package dependencies for the solution
26+ run : |
27+ dotnet restore
28+
29+ - name : Build solution
30+ description : Build the entire solution to verify setup is working
31+ run : |
32+ dotnet build --configuration Debug --no-restore
33+
34+ - name : Verify setup
35+ description : Run a quick verification that everything is set up correctly
36+ run : |
37+ echo "✅ .NET 9 SDK installed successfully"
38+ echo "✅ NuGet packages restored"
39+ echo "✅ Solution builds successfully"
40+ echo ""
41+ echo "🚀 You can now work with the NLWebNet repository!"
42+ echo ""
43+ echo "Quick start commands:"
44+ echo " - Build: dotnet build"
45+ echo " - Test: dotnet test"
46+ echo " - Run demo: dotnet run --project demo"
0 commit comments