Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion RaspberryDebugger/DebugHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,13 +521,14 @@ public static ConnectionInfo GetDebugConnectionInfo(ProjectProperties projectPro
// .NET Core only supports Raspberry models 3 and 4.
if (!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi 3 Model") &&
!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi 4 Model") &&
!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi Compute Module 4") &&
!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi Zero 2"))
{
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

MessageBoxEx.Show(
$"Your [{connection.PiStatus.RaspberryModel}] is not supported." +
" .NET Core requires a Raspberry Model 3 or 4 or Pi Zero 2.",
" .NET Core requires a Raspberry Model 3 or 4, Pi Zero 2 or Compute Module 4.",
"Raspberry Not Supported",
MessageBoxButtons.OK,
MessageBoxIcon.Error);
Expand Down