Skip to content

Commit 80f8315

Browse files
committed
#13:
Add support for .NET 5.0
1 parent 1b45072 commit 80f8315

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

Doc/RELEASE-TEMPLATE.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@ https://github.com/nforgeio/RaspberryDebugger/issues
1616

1717
Simply download the `RaspberryDebugger.vsix` file to your workstation and double-click it to have Visual Studio install it.
1818

19-
**IMPORTANT:** Raspberry Debugger is not currently compatible with any .NET 5 SDKs. If you have a .NET 5 SDK installed you'll need to add this `global.json` file to your project or solution directory so your project will be built using the latest installed .NET 3.1.x SDK:
20-
21-
Save as **global.json** file:
22-
```
23-
{
24-
"sdk": {
25-
"version": "3.1.100",
26-
"rollForward": "latestMinor"
27-
}
28-
}
29-
```
30-
3119
### Getting Started:
3220

3321
Visit our GitHub project for instructions: https://github.com/nforgeio/RaspberryDebugger

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ The new **Raspberry Debugger** Visual Studio extension allows you to code your a
2020
* Supports Raspberry Pi 3+ devices
2121
* Raspberry Pi OS 32-bit (we haven't tested other operating systems)
2222
* Console and ASPNET .NET Core 3.1 applications
23-
* .NET 5 will be supported when it's formally released
2423
* Configures 2048-bit RSA SSH key pairs automatically
2524
* **F5/Run** debugging
2625
* SDK and VSDBG installation is handled automatically
@@ -98,7 +97,7 @@ On your Windows workstation:
9897
Your new connection will look something like this on success:
9998
<br/>![Screenshot](/Doc/Images/GettingStarted/ToolsOptions4.png?raw=true)<br/>
10099

101-
1. Configure your .NET Core project for debugging. Raspberry Debugger supports Console and ASPNET applications targeting .NET Core 3.1.x (we'll support .NET 5 when it's released).
100+
1. Configure your .NET Core project for debugging. Raspberry Debugger supports Console and ASPNET applications targeting .NET Core 3.1 and .NET 5
102101
Open one of your project source files and choose the new **Project/Raspberry Debug** menu:
103102
<br/>![Screenshot](/Doc/Images/GettingStarted/RaspberryDebugMenu.png?raw=true)<br/>
104103
The project Raspberry settings dialog will look like this:
@@ -163,7 +162,7 @@ The **Project/Raspberry Debug Settings** menu persists the settings to the new `
163162

164163
* .NET Core is not supported on Raspberry 1, 2, or Zero cards
165164
* 64-bit Raspberry Pi OS is not supported
166-
* Only .NET Core 3.1+ SDKs are supported (we'll add .NET 5 when it's formally released)
165+
* Only .NET Core 3.1 and .NET 5 SDKs are supported
167166
* **Start Without Debugging** or **Attach to Process...** are not supported (yet)
168167
* Raspberry debugging uses the default project debugging profile
169168
* HTTPS is not currently supported for ASPNET debugging

RaspberryDebugger/Connection/Connection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public async Task<bool> InstallSdkAsync(string sdkVersion)
568568

569569
LogInfo($"Installing SDK v{targetSdk.Version}");
570570

571-
return await PackageHelper.ExecuteWithProgressAsync<bool>($"Download and installing SDK v{targetSdk.Version} on Raspberry...",
571+
return await PackageHelper.ExecuteWithProgressAsync<bool>($"Download and install SDK v{targetSdk.Version} on Raspberry...",
572572
async () =>
573573
{
574574
var installScript =

RaspberryDebugger/sdk-catalog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,20 @@
279279
"Architecture": "ARM64",
280280
"Link": "https://download.visualstudio.microsoft.com/download/pr/de47cbe2-f75f-44c5-8250-7960a36d6591/76cfdbfb7bf17cce27378a9fddd969a6/dotnet-sdk-3.1.404-linux-arm64.tar.gz",
281281
"SHA512": "b22b60a06f4a1a409eb8eb8f5aec26454ff393bef9677294f0a9d61367caeb2a55fff1e4e282af5250365d27cee3b5cf7c31db8ff1c224f1c7225263b0e4a9aa"
282+
},
283+
{
284+
"Name": "5.0.100",
285+
"Version": "5.0.0",
286+
"Architecture": "ARM32",
287+
"Link": "https://download.visualstudio.microsoft.com/download/pr/e8912d3b-483b-4d6f-bd3a-3066b3194313/20f2261fe4e16e55df4bbe03c65a7648/dotnet-sdk-5.0.100-linux-arm.tar.gz",
288+
"SHA512": "c61a0910e34a5d7bffee46835242c24a153bf346e0ef1b048a47d12e60408aa722cec0a08fa1461ab615a4f0d09ef470c479d393f93929837f18699c745c1314"
289+
},
290+
{
291+
"Name": "5.0.100",
292+
"Version": "5.0.0",
293+
"Architecture": "ARM64",
294+
"Link": "https://download.visualstudio.microsoft.com/download/pr/27840e8b-d61c-472d-8e11-c16784d40091/ae9780ccda4499405cf6f0924f6f036a/dotnet-sdk-5.0.100-linux-arm64.tar.gz",
295+
"SHA512": "5fceac0a9468097d66af25516da597eb4836b294ed1647ba272ade5c8faea2ed977a95d9ce720c44d71607fa3a0cf9de55afe0e66c0c89ab1cc6736945978204"
282296
}
283297
]
284298
}

0 commit comments

Comments
 (0)