Skip to content

Commit 5b3f3b1

Browse files
Arash-SabetCopilot
andauthored
Update .github/copilot-instructions.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 42413ff commit 5b3f3b1

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/copilot-instructions.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ Always reference these instructions first and fallback to search or bash command
1010
- **CRITICAL**: This project requires .NET 9.0 SDK (version 9.0.304 or later) and .NET 9.0 runtime (version 9.0.8 or later).
1111
- Install .NET 9.0 SDK:
1212
```bash
13-
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 9.0.304 --install-dir /tmp/dotnet
13+
# Download the install script
14+
curl -sSL -o dotnet-install.sh https://dot.net/v1/dotnet-install.sh
15+
# Download the official SHA-256 checksum (replace URL with actual checksum file if available)
16+
curl -sSL -o dotnet-install.sh.sha256 https://dot.net/v1/dotnet-install.sh.sha256
17+
# Verify checksum
18+
sha256sum -c dotnet-install.sh.sha256
19+
# If verification passes, install .NET SDK
20+
bash dotnet-install.sh --version 9.0.304 --install-dir /tmp/dotnet
1421
export PATH="/tmp/dotnet:$PATH"
1522
export DOTNET_ROOT="/tmp/dotnet"
1623
```
17-
- Install .NET 9.0 runtime:
18-
```bash
19-
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 9.0.8 --runtime dotnet --install-dir /tmp/dotnet
20-
```
2124
- Verify installation: `dotnet --version` should return `9.0.304` or later
2225
- Verify runtime: `dotnet --list-runtimes` should show `Microsoft.NETCore.App 9.0.8`
2326

0 commit comments

Comments
 (0)