Skip to content

Commit

Permalink
#13:
Browse files Browse the repository at this point in the history
Add support for .NET 5.0
  • Loading branch information
jefflill committed Nov 11, 2020
1 parent 1b45072 commit 80f8315
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
12 changes: 0 additions & 12 deletions Doc/RELEASE-TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ https://github.com/nforgeio/RaspberryDebugger/issues

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

**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:

Save as **global.json** file:
```
{
"sdk": {
"version": "3.1.100",
"rollForward": "latestMinor"
}
}
```

### Getting Started:

Visit our GitHub project for instructions: https://github.com/nforgeio/RaspberryDebugger
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ The new **Raspberry Debugger** Visual Studio extension allows you to code your a
* Supports Raspberry Pi 3+ devices
* Raspberry Pi OS 32-bit (we haven't tested other operating systems)
* Console and ASPNET .NET Core 3.1 applications
* .NET 5 will be supported when it's formally released
* Configures 2048-bit RSA SSH key pairs automatically
* **F5/Run** debugging
* SDK and VSDBG installation is handled automatically
Expand Down Expand Up @@ -98,7 +97,7 @@ On your Windows workstation:
Your new connection will look something like this on success:
<br/>![Screenshot](/Doc/Images/GettingStarted/ToolsOptions4.png?raw=true)<br/>

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).
1. Configure your .NET Core project for debugging. Raspberry Debugger supports Console and ASPNET applications targeting .NET Core 3.1 and .NET 5
Open one of your project source files and choose the new **Project/Raspberry Debug** menu:
<br/>![Screenshot](/Doc/Images/GettingStarted/RaspberryDebugMenu.png?raw=true)<br/>
The project Raspberry settings dialog will look like this:
Expand Down Expand Up @@ -163,7 +162,7 @@ The **Project/Raspberry Debug Settings** menu persists the settings to the new `

* .NET Core is not supported on Raspberry 1, 2, or Zero cards
* 64-bit Raspberry Pi OS is not supported
* Only .NET Core 3.1+ SDKs are supported (we'll add .NET 5 when it's formally released)
* Only .NET Core 3.1 and .NET 5 SDKs are supported
* **Start Without Debugging** or **Attach to Process...** are not supported (yet)
* Raspberry debugging uses the default project debugging profile
* HTTPS is not currently supported for ASPNET debugging
Expand Down
2 changes: 1 addition & 1 deletion RaspberryDebugger/Connection/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ public async Task<bool> InstallSdkAsync(string sdkVersion)

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

return await PackageHelper.ExecuteWithProgressAsync<bool>($"Download and installing SDK v{targetSdk.Version} on Raspberry...",
return await PackageHelper.ExecuteWithProgressAsync<bool>($"Download and install SDK v{targetSdk.Version} on Raspberry...",
async () =>
{
var installScript =
Expand Down
14 changes: 14 additions & 0 deletions RaspberryDebugger/sdk-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,20 @@
"Architecture": "ARM64",
"Link": "https://download.visualstudio.microsoft.com/download/pr/de47cbe2-f75f-44c5-8250-7960a36d6591/76cfdbfb7bf17cce27378a9fddd969a6/dotnet-sdk-3.1.404-linux-arm64.tar.gz",
"SHA512": "b22b60a06f4a1a409eb8eb8f5aec26454ff393bef9677294f0a9d61367caeb2a55fff1e4e282af5250365d27cee3b5cf7c31db8ff1c224f1c7225263b0e4a9aa"
},
{
"Name": "5.0.100",
"Version": "5.0.0",
"Architecture": "ARM32",
"Link": "https://download.visualstudio.microsoft.com/download/pr/e8912d3b-483b-4d6f-bd3a-3066b3194313/20f2261fe4e16e55df4bbe03c65a7648/dotnet-sdk-5.0.100-linux-arm.tar.gz",
"SHA512": "c61a0910e34a5d7bffee46835242c24a153bf346e0ef1b048a47d12e60408aa722cec0a08fa1461ab615a4f0d09ef470c479d393f93929837f18699c745c1314"
},
{
"Name": "5.0.100",
"Version": "5.0.0",
"Architecture": "ARM64",
"Link": "https://download.visualstudio.microsoft.com/download/pr/27840e8b-d61c-472d-8e11-c16784d40091/ae9780ccda4499405cf6f0924f6f036a/dotnet-sdk-5.0.100-linux-arm64.tar.gz",
"SHA512": "5fceac0a9468097d66af25516da597eb4836b294ed1647ba272ade5c8faea2ed977a95d9ce720c44d71607fa3a0cf9de55afe0e66c0c89ab1cc6736945978204"
}
]
}

0 comments on commit 80f8315

Please sign in to comment.