Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
c6839a9
property hint
StanDeMan Apr 4, 2022
81e511b
Update README.md
StanDeMan Apr 4, 2022
3cecad2
Update README.md
StanDeMan Apr 4, 2022
928910c
add link
StanDeMan Apr 4, 2022
25411f6
Update README.md
StanDeMan Apr 4, 2022
df28148
update readme
StanDeMan Apr 4, 2022
6d4a5ba
uodate readme
StanDeMan Apr 4, 2022
dd74352
Update readme
StanDeMan Apr 13, 2022
81f50e8
Typo: remove semicolon from sdk catalog
StanDeMan May 1, 2022
47e8011
Remove ARM32 architecture checks
StanDeMan May 1, 2022
5854939
Remove GetTargetSdk
StanDeMan May 3, 2022
490b0ad
Extend Sdk with architecture
StanDeMan May 3, 2022
2296fc6
Create EnumMemberAttributeExtension
StanDeMan May 3, 2022
35a3d6d
Extend with Platform enum for bitness
StanDeMan May 3, 2022
da61ec0
Add architecture check
StanDeMan May 3, 2022
4989569
Add pi architecture to status
StanDeMan May 3, 2022
86bccbc
Architecture refinement
StanDeMan May 3, 2022
9768e6e
Differentiate processor and architecture
StanDeMan May 3, 2022
6ed7796
Optimize comment for installation
StanDeMan May 3, 2022
95f0342
Update readme
StanDeMan May 3, 2022
3ce4ed5
update readme
StanDeMan May 3, 2022
dcf9900
update readme
StanDeMan May 3, 2022
b5c3997
update readme
StanDeMan May 3, 2022
f673ee0
Merge branch 'main' into maim-vs2022
StanDeMan May 3, 2022
d9b43ad
Merge pull request #7 from StanDeMan/maim-vs2022
StanDeMan May 3, 2022
d1195b3
Remove unused package
StanDeMan May 3, 2022
cc38232
Set to readonly
StanDeMan May 3, 2022
851c105
Remove MagicAndre stuff - cannot get it to work?
StanDeMan May 3, 2022
0d1f841
Remove doubled .net version
StanDeMan May 3, 2022
7572c48
Remove SdkArchitecture.ARM32 check and code cleansing
StanDeMan May 3, 2022
bd1d0ce
Wrong logging level
StanDeMan May 3, 2022
89639e8
Minor: code cleansing
StanDeMan May 3, 2022
61aafbe
Enrich instalSdkInfo with architecture info
StanDeMan May 3, 2022
a93c55f
Code cleansing: Namespace shift to path structure
StanDeMan May 4, 2022
ac58074
Codecleansing: PackageHelper
StanDeMan May 4, 2022
6b0ca59
Remove misplaced comment
StanDeMan May 4, 2022
e805db7
Remove displaced comment
StanDeMan May 4, 2022
62d6754
Remove unnecessary usings
StanDeMan May 4, 2022
a92923b
Remove unnecessary standard initializers
StanDeMan May 4, 2022
626eb28
Code cleansing
StanDeMan May 4, 2022
df436f6
Code cleansing: follow parameter naming rules
StanDeMan May 4, 2022
71919d0
Dictionary file
StanDeMan May 4, 2022
34f129a
correct type in comment
StanDeMan May 4, 2022
3bac0c5
Remove unnecessary usings
StanDeMan May 4, 2022
7f87085
Code cleansing
StanDeMan May 4, 2022
4a28fa2
Code cleansing
StanDeMan May 4, 2022
2187b36
Remove empty line
StanDeMan May 4, 2022
6a67640
Code cleansing: add comment and add to dictionary
StanDeMan May 4, 2022
0b42d3c
Remove empty line
StanDeMan May 4, 2022
0ab3dd8
Remove empty line
StanDeMan May 4, 2022
9ab6f98
Remove empty line and correct typo
StanDeMan May 4, 2022
0fc506c
Code cleansing
StanDeMan May 4, 2022
87c158d
Code cleansing
StanDeMan May 4, 2022
a716f3b
Codecleansing
StanDeMan May 4, 2022
eaa0daf
Code cleansing
StanDeMan May 4, 2022
76fcd4c
Code cleansing
StanDeMan May 4, 2022
8d3438d
Code cleansing
StanDeMan May 4, 2022
f41e602
Code cleansing
StanDeMan May 4, 2022
58127f9
Code cleansing
StanDeMan May 4, 2022
bc1634c
Code cleansing
StanDeMan May 4, 2022
780eb96
Code cleansing and type corrections
StanDeMan May 4, 2022
2a6f298
Rework catalog test: include 64bit too
StanDeMan May 4, 2022
608c0b3
Remove unused parameters
StanDeMan May 8, 2022
22ec2b0
Follow enum naming convention
StanDeMan May 8, 2022
81f02cc
Reduce if nesting: invert if
StanDeMan May 8, 2022
f6d017e
Code cleansing: Remove unused usings
StanDeMan May 8, 2022
8647986
Format if for readability issues
StanDeMan May 8, 2022
6cd4b47
Reduce nesting in method CopyFrom
StanDeMan May 8, 2022
6fa42c3
Remove unused method
StanDeMan May 9, 2022
479313e
Add operating system architecture
StanDeMan May 9, 2022
74fe1b5
User operatins system definitions
StanDeMan May 9, 2022
8f8289d
Use only one package source
StanDeMan May 9, 2022
c0e7cd4
Check against PiStatus
StanDeMan May 10, 2022
dfc5c8c
Break line for Bitness
StanDeMan May 10, 2022
2d9d515
Fill dictionary with new phrases
StanDeMan May 10, 2022
ae2f75a
Remove unused methods and do some cleansing
StanDeMan May 10, 2022
fb01c7b
Add only supported versions (6.0 + Core 3.1 LTS)
StanDeMan May 10, 2022
d85e693
Remove unused properties
StanDeMan May 10, 2022
0bc4ecf
Handle Sdk unknown in tests
StanDeMan May 10, 2022
dccffb6
Figure out the SDK version for further steps
StanDeMan May 10, 2022
0b14c5f
Add Sdk Scraper and related test
StanDeMan May 12, 2022
b40259d
New phrases to dictionary
StanDeMan May 12, 2022
1184394
Make property get only
StanDeMan May 12, 2022
9932105
Add version parser to project
StanDeMan May 12, 2022
d257c9b
Readability: separate usings
StanDeMan May 12, 2022
c5c7e45
Create sdk parser json
StanDeMan May 12, 2022
5515c8b
Add json to project
StanDeMan May 12, 2022
c567285
Make program static
StanDeMan May 12, 2022
b1b4b12
Add sdk-parser-catalog.json as embedded resource
StanDeMan May 12, 2022
f8263e4
Make constante private and minor refact
StanDeMan May 12, 2022
f76c33b
Put new phrases to dictionary
StanDeMan May 13, 2022
9d46771
Add comment with search path
StanDeMan May 13, 2022
82133ec
Build complete path to .NET download page
StanDeMan May 13, 2022
21fcd55
Add UnusedAutoPropertyAccessor to DebugStartCommand
StanDeMan May 13, 2022
e10263d
Include VS 17.2 assenmly references to be up to date again
StanDeMan May 13, 2022
ca707e9
Make null safe
StanDeMan May 13, 2022
550a86e
Update the InstallationTarget Version to 17.2 in manifest, to avoid F…
StanDeMan May 13, 2022
1458273
Code cleansing: Remove and add some empty lines
StanDeMan May 13, 2022
aa69d23
Remove Version - we only need name
StanDeMan May 13, 2022
02e4a98
Set internally used properties to private
StanDeMan May 13, 2022
d34942c
- Replace version by name
StanDeMan May 13, 2022
ab08c7a
Replace version by SDK name
StanDeMan May 13, 2022
da2c1cb
Harminizing SDK enum member values
StanDeMan May 13, 2022
ddacede
- Remove annotations
StanDeMan May 13, 2022
009fe8b
Optimize LinQ search
StanDeMan May 13, 2022
7506655
Team shared phrase collection
StanDeMan May 13, 2022
f92799b
Minor: add detailed comment and rename variable
StanDeMan May 13, 2022
835ede8
First scrape - filling SdkCatalog missing
StanDeMan May 13, 2022
7c4a5e5
Reorder enums
StanDeMan May 13, 2022
411d8b3
Make LinQ more readable
StanDeMan May 13, 2022
42a4076
Check if installed sdk contain .NET version name
StanDeMan May 13, 2022
434ca56
Initialize sdk catalog list as default
StanDeMan May 13, 2022
e7c43a0
Scrape Microsoft pages and fill SDK catalog items:
StanDeMan May 13, 2022
fb556f6
New phrases for team dictionary
StanDeMan May 13, 2022
b4ae583
Code cleansing
StanDeMan May 13, 2022
42af366
Order for sdks to get the actual one
StanDeMan May 14, 2022
77e9e01
Correct typo
StanDeMan May 14, 2022
abdb65c
Minor: scraping comment
StanDeMan May 14, 2022
d382d5d
updatr readme
StanDeMan May 14, 2022
b275c20
Do even more in parallel - but it is dependant on bandwith too
StanDeMan May 14, 2022
34dfc2b
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan May 14, 2022
1fda5cb
Set c# version to 8
StanDeMan May 15, 2022
868e284
Simple internet check
StanDeMan May 15, 2022
612a370
Add google constante
StanDeMan May 15, 2022
06c8aa1
Remove internet check
StanDeMan May 15, 2022
7d30488
Add simple internet check
StanDeMan May 15, 2022
2ba0806
Add simple internet check
StanDeMan May 15, 2022
f71c000
Add related test for simple internet check
StanDeMan May 15, 2022
0fe38e8
Extend with async version parser stuff
StanDeMan May 16, 2022
87cfc1a
Remove sync functions
StanDeMan May 16, 2022
9003f09
Remove sync function tests
StanDeMan May 16, 2022
987e779
Remove sync tests from project
StanDeMan May 16, 2022
eef4140
Do sync approach first
StanDeMan May 16, 2022
dac4e43
Sync SdkCatalog version
StanDeMan May 17, 2022
4d84e24
Add Newtonsoft for type conversion
StanDeMan May 17, 2022
6b270ab
Add extended
StanDeMan May 17, 2022
0e26ec5
Add extended tests
StanDeMan May 17, 2022
abb35da
Implment the bulk operation to get download links and checksum
StanDeMan May 18, 2022
57c8450
First attempt for get property: SdkCatalog
StanDeMan May 18, 2022
e46ed82
Add empty item group
StanDeMan May 18, 2022
5219ff9
Add SdkCatalogItem constructor
StanDeMan May 18, 2022
427ac11
Minor: remove unused using and comment out resharper hint for using
StanDeMan May 18, 2022
f2da801
ReadDownloadUriAndChecksumBulkAsync implementation and related test
StanDeMan May 18, 2022
7a018a7
Move closer to usage.
StanDeMan May 18, 2022
fbc96f3
Implement preload SDKs for later usage
StanDeMan May 22, 2022
7a44b6b
Move internal to private
StanDeMan May 22, 2022
f855023
Implement wait cursor for use with using
StanDeMan May 22, 2022
9919486
Add CachedSdkCatalogPresent property
StanDeMan May 22, 2022
1fa2197
Add WaitCursor to project
StanDeMan May 22, 2022
5dfec78
Add new phrases to team shared dictionary
StanDeMan May 22, 2022
74a2a05
Set to auto property: SdkCatalogPresent
StanDeMan May 22, 2022
dae1f29
Reorganize code for better readability
StanDeMan May 22, 2022
490563e
Use only one property
StanDeMan May 22, 2022
3b82636
No need for loading assembly if sdks are loaded
StanDeMan May 22, 2022
ee015aa
Do LinQ parallel - seems not to be faster?
StanDeMan May 22, 2022
11dae77
New team shared phrases
StanDeMan May 22, 2022
8ddcf20
Extend dialog box with internet speed hint
StanDeMan May 22, 2022
1068bf0
Remove AsParallel
StanDeMan May 22, 2022
0a1039f
Use JoinableTaskFactory to sync tasks in property
StanDeMan May 22, 2022
2cf3e2f
Minor: code structure
StanDeMan May 22, 2022
fb1172a
Remove prefil SDKs from SettingsCommand
StanDeMan May 22, 2022
b2e56f2
Put fetch SDKs to a common place
StanDeMan May 22, 2022
0c61000
Add platform enum for bitness
StanDeMan May 22, 2022
406e199
Use bitness in FillCachedSdkCatalog
StanDeMan May 22, 2022
050a6ee
Log success of SDK links download
StanDeMan May 22, 2022
5413cff
Set manifest version and extend decription
StanDeMan May 22, 2022
6c6a596
If device isn't reachable avoid exception but log status
StanDeMan May 22, 2022
204c29a
Bulk read test and async test renaming
StanDeMan May 24, 2022
015c5d9
Make test async
StanDeMan May 25, 2022
8c0ae86
Adapt comments
StanDeMan May 27, 2022
001f376
Implement ReadVersionFeedService
StanDeMan May 27, 2022
0e4e547
Implement VersionFeedService test
StanDeMan May 27, 2022
53b7891
Measure execution time
StanDeMan May 27, 2022
35478c7
Fetch from version feed service with fall back
StanDeMan May 27, 2022
5414faa
Update readme
StanDeMan May 27, 2022
9a3e05a
Take the new named feed
StanDeMan May 28, 2022
2615585
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan May 28, 2022
b3a45f7
Minor: comment break
StanDeMan May 29, 2022
f852591
New SDK entries
StanDeMan May 29, 2022
6f1709f
Remove SdkCatalogChecker project
StanDeMan May 29, 2022
4eaad04
Adapt versions feed to get SDK links and checksums
StanDeMan May 29, 2022
8346bcc
Do fallback if catalog not present
StanDeMan May 29, 2022
33d8254
Again Fallback in ReadSdkCatalogToCache
StanDeMan May 29, 2022
26b3541
Optimize code
StanDeMan May 29, 2022
9d908bd
Optimize code for readability
StanDeMan May 29, 2022
8cae0b8
Convert to using declaration
StanDeMan Jun 3, 2022
56698a0
Add phrase to team dictionary
StanDeMan Jun 3, 2022
e612f38
- Document service usage
StanDeMan Jun 3, 2022
aec637f
Set framework to actual version
StanDeMan Jun 5, 2022
98f5b9b
Set RuntimeIdentifier to linux arm so that it can start
StanDeMan Jun 5, 2022
bf53d26
Small upgrades to get code optimized
StanDeMan Jun 5, 2022
57d80e9
Set Blinky example to AnyCpu
StanDeMan Jun 18, 2022
2834a22
Remove unnecessary empty char
StanDeMan Jun 18, 2022
bd4f61c
Add SDK Release property
StanDeMan Jun 18, 2022
b8984e5
Rename Blinkie project to Blinky
StanDeMan Jun 18, 2022
d98183f
Add SDK version property
StanDeMan Jun 18, 2022
0c7fb1b
Create one more part - having now 3: download SDK, install SDK and do…
StanDeMan Jun 18, 2022
a6ff822
Remove empty lines underneath comments
StanDeMan Jun 19, 2022
ff34bc6
Add actual GPIO nuget
StanDeMan Jun 19, 2022
4765f4d
Set gpio pin to 14 - directly underneath raspberry pi power supply
StanDeMan Jun 19, 2022
5d283a5
Latest maintan.md
StanDeMan Jun 20, 2022
cf70a87
Update maintain.md
StanDeMan Jun 20, 2022
5f6be73
Update readme
StanDeMan Jun 20, 2022
8759f9a
Update readme
StanDeMan Jun 20, 2022
aa29dd3
Readme
StanDeMan Jun 20, 2022
4b69ee5
Delete Tests
StanDeMan Jun 20, 2022
35956b4
Delete GingerMint.VersionParser directory
StanDeMan Jun 20, 2022
58e8606
Delete sdk-catalog.json
StanDeMan Jun 20, 2022
fc52741
Take projectProperties.AspRelativeBrowserUri if set and put / in front
StanDeMan Jul 4, 2022
2b86f82
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan Jul 4, 2022
f289e69
Update readme
StanDeMan Jul 4, 2022
8957e3c
First attempt to get Kestrel and other web servers (NGiNX, Apache, et…
StanDeMan Jul 5, 2022
8072073
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan Jul 5, 2022
19155ba
Try to get uri handling and timing more stable
StanDeMan Jul 5, 2022
406eb62
Optimize OpenBrowser for Kestrel and other web servers
StanDeMan Jul 7, 2022
0499469
Avoid null for UseHttpsRedirection
StanDeMan Jul 7, 2022
d2c2172
Establish shorted delay for web server search
StanDeMan Jul 7, 2022
72b77d6
Minor: restructure if and return - only for better readability
StanDeMan Jul 7, 2022
219c706
Remove pragmas and correct scope
StanDeMan Jul 7, 2022
201dde0
Code cleansing: emove empty line
StanDeMan Jul 7, 2022
15e1ae3
Resharper comments
StanDeMan Jul 7, 2022
76c299f
ReSharper comment and format text
StanDeMan Jul 7, 2022
c14e92f
Code cleansing: Remove empt line
StanDeMan Jul 7, 2022
5b9b18f
Add wait cursor at web server search
StanDeMan Jul 8, 2022
08e65ad
Rename calls and method to get clearer meaning
StanDeMan Jul 8, 2022
8cc77c1
Rename class and method at calling side too
StanDeMan Jul 8, 2022
3a4541e
Update WebApp project to Net 6 template
Daniel127 Jul 12, 2022
80b1212
Added property for use internal proxy
Daniel127 Jul 12, 2022
744fbc3
Merge pull request #11 from Daniel127/feature/optional-proxy
StanDeMan Jul 13, 2022
1822443
Add tooltip and some more Asp.NET information
StanDeMan Jul 13, 2022
8574d69
Rearrange in listen methods for krestel and reverse proxy
StanDeMan Jul 13, 2022
463539e
Implement proxy web server class and integrate it
StanDeMan Jul 18, 2022
c9d87e1
Minor: reduce nesting
StanDeMan Jul 19, 2022
21b2e95
Update readme
StanDeMan Jul 20, 2022
deba2a4
Change version feed address - need some space to host for free...
StanDeMan Jul 21, 2022
95d9a51
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan Jul 21, 2022
3f114dd
Raspberry Pi Compute Module 4 Support
GeorgeStephens Aug 1, 2022
62aaa85
new vsix manifest
StanDeMan Aug 2, 2022
392d59e
Merge pull request #13 from GeorgeStephens/patch-1
StanDeMan Aug 2, 2022
5fc7b11
New version supporting compute module 4
StanDeMan Aug 2, 2022
8086b59
Set assembly version
StanDeMan Aug 2, 2022
38a2197
Remove unused using
StanDeMan Aug 2, 2022
7672892
Extend raspberry pi model check
StanDeMan Aug 3, 2022
e70537b
Update readme
StanDeMan Aug 5, 2022
a62c31a
Count up version. A new .NET is born and alive.
StanDeMan Nov 20, 2022
19621eb
Take all new .NET version together with .NET 7.0
StanDeMan Nov 20, 2022
7f24eff
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan Nov 20, 2022
138668e
Update readme
StanDeMan Nov 20, 2022
fb1c4ea
Generate new marketplace guid
StanDeMan Nov 20, 2022
a55211f
Merge branch 'main' of https://github.com/StanDeMan/RaspberryDebugger
StanDeMan Nov 20, 2022
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
8 changes: 3 additions & 5 deletions MAINTAIN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
### Periodic Maintenance

1. Once a week or so, we should check for new .NET Core releases and update `sdk-catalog.json`
1. To avoid updates of `sdk-catalog.json` file a web service should be established to grep actual versions from pages below:

a. [All](https://dotnet.microsoft.com/download/dotnet-core)
b. [.NET Core 3.1.x](https://dotnet.microsoft.com/download/dotnet-core/3.1)
c. [.NET Core 5.0+](https://dotnet.microsoft.com/download/dotnet/5.0)
c. [.NET Core 6.0x](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)

2. We should also check for new Rapberry Pi hardware releases and update `raspberry-catalog.json`

https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
`sdk-catalog.json` has to be actual at release date. If the web service isn't available the `sdk-catalog.json` gets taken from debugger.
13 changes: 13 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="vssdk" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" />
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
<add key="xliff-tasks" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
</packageSources>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
</configuration>
43 changes: 31 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Raspberry Debugger
# Raspberry Debugger forked from nforgeio/RaspberryDebugger
_A Visual Studio Extension for debugging .NET Core applications remotely on a Raspberry Pi_

---

**IMPORTANT:** .NET 5.0 starting with the SDK 5.0.102 works now!

**IMPORTANT:** Can be ONLY used in Visual Studio 2022! Actually the LTS .NET versions (3.1 + 6.0) and the STS 7.0 (version 3.3) are supported.

For debugging set the runtime identifier project property to:

```
<PropertyGroup>
...
<PlatformTarget>AnyCPU</PlatformTarget>
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
</PropertyGroup>
```
https://docs.microsoft.com/de-de/dotnet/core/rid-catalog
---

You can use Visual Studio Code to develop and debug .NET Core applications either directly on your Raspberry or remotely from another computer but until today, there's been no easy way to use regular Visual Studio to develop and debug applications for Raspberry.
Expand All @@ -13,16 +22,17 @@ The new **Raspberry Debugger** Visual Studio extension allows you to code your a

### Requirements

* Windows 10
* Visual Studio 2019 Community Edition (or better)
* Raspberry Pi running 32-bit Raspberry Pi OS
* Windows 10/11
* Visual Studio 2022 Community Edition (or better)
* Raspberry Pi running 32-bit or 64-bit Raspberry Pi OS - grab this source and feel free to test, please
* Raspberry user allowed to `sudo`
* [Windows Open SSH Client](https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse) (installed automatically when required)

### Features

* Supports Raspberry Pi 3+ devices
* Raspberry Pi OS 32-bit (we haven't tested other operating systems)
* Supports Raspberry Pi 3+ devices and Zero 2 W
* Take a Pi 4 (4/8GB) for development work with large-scale solutions
* Raspberry Pi OS 32/64-bit (raspbian)
* Console and ASPNET .NET applications supported
* Configures SSH 2048-bit RSA key pair automatically
* **F5/Run** debugging
Expand Down Expand Up @@ -125,6 +135,15 @@ When debugging .NET Core Console projects, you can pass command line arguments a

When debugging ASPNET projects, you can pass command line arguments and environment variables to the remote program and you also have the option to start a browser on your workstation and have it display a page from your application.

For Asp.NET debugging set the runtime identifier project property to:

```
<PropertyGroup>
...
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
</PropertyGroup>
```

Your web application will be deployed on your Raspberry on all network interfaces, using the port specified by the **App URL**.

![Screenshot](/Doc/Images/GettingStarted/AspNetProperties.png?raw=true)
Expand Down Expand Up @@ -162,11 +181,11 @@ The **Project/Raspberry Debug Settings** menu persists the settings to the new `
### Limitations

* .NET Core is not supported on Raspberry 1, 2, or Zero cards
* 64-bit Raspberry Pi OS is not supported
* .NET Core SDKs older than 3.1 are not supported
* 64-bit Raspberry Pi OS (Raspbian) is supported now
* Only LTS .NET Core SDKs supported: LTS .NET versions (3.1 + 6.0) and latest STS 7.0 (debugger version 3.3)
* **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
* HTTPS is currently supported for ASPNET debugging (for reverse proxy and for Kestrel)
* Program assembly names can't include spaces

### Disclosures
Expand Down
14 changes: 4 additions & 10 deletions RaspberryDebugger.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30523.141
# Visual Studio Version 17
VisualStudioVersion = 17.2.32505.173
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub", "GitHub", "{177F60A0-B1B9-45D1-9CB1-8F06A6ED2AB5}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -13,8 +13,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub", "GitHub", "{177F60
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RaspberryDebugger", "RaspberryDebugger\RaspberryDebugger.csproj", "{80D6A0E0-A145-488C-976D-CE34A16D8533}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SdkCatalogChecker", "SdkCatalogChecker\SdkCatalogChecker.csproj", "{003203EC-1955-47A8-8DEC-7483D1617528}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Doc", "Doc", "{5A14B2C0-0606-433A-AE9C-9E33C7B2BA27}"
ProjectSection(SolutionItems) = preProject
Doc\DEVELOPER.md = Doc\DEVELOPER.md
Expand All @@ -40,9 +38,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ToolBin", "ToolBin", "{15A5
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{21D869D2-B357-485A-89C0-6A18B8886432}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Blinkie", "Blinkie", "{C7EA532F-BE47-4993-9599-66168340E980}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Blinky", "Blinky", "{C7EA532F-BE47-4993-9599-66168340E980}"
ProjectSection(SolutionItems) = preProject
Test\Blinkie\Blinkie.sln = Test\Blinkie\Blinkie.sln
Test\Blinkie\Blinky.sln = Test\Blinkie\Blinky.sln
EndProjectSection
EndProject
Global
Expand All @@ -55,10 +53,6 @@ Global
{80D6A0E0-A145-488C-976D-CE34A16D8533}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80D6A0E0-A145-488C-976D-CE34A16D8533}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80D6A0E0-A145-488C-976D-CE34A16D8533}.Release|Any CPU.Build.0 = Release|Any CPU
{003203EC-1955-47A8-8DEC-7483D1617528}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{003203EC-1955-47A8-8DEC-7483D1617528}.Debug|Any CPU.Build.0 = Debug|Any CPU
{003203EC-1955-47A8-8DEC-7483D1617528}.Release|Any CPU.ActiveCfg = Release|Any CPU
{003203EC-1955-47A8-8DEC-7483D1617528}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
21 changes: 21 additions & 0 deletions RaspberryDebugger.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=aarch/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=armv/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=BITNESS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=coreclr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=ctmenu/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=dependant/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=eligable/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=gpio/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Krestel/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Lill/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=lsof/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=macos/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Preload/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=rs_0020as_0020req/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Sdks/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=USERPROFILE/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=versioning/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vscode/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vsdbg/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=VSIX/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
39 changes: 12 additions & 27 deletions RaspberryDebugger/Commands/DebugAttachToProcessCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,24 @@
// limitations under the License.

using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;

using EnvDTE;
using EnvDTE80;

using Neon.Common;
using Neon.IO;
using Neon.Windows;

using Newtonsoft.Json.Linq;

using RaspberryDebugger.Dialogs;
using Task = System.Threading.Tasks.Task;

namespace RaspberryDebugger
namespace RaspberryDebugger.Commands
{
/// <summary>
/// Handles the <b>Attach to Process...</b> command for Raspberry enabled projects.
/// </summary>
internal sealed class DebugAttachToProcessCommand
{
private DTE2 dte;
// ReSharper disable once NotAccessedField.Local
private readonly DTE2 dte;

/// <summary>
/// Command ID.
Expand Down Expand Up @@ -81,21 +66,23 @@ private DebugAttachToProcessCommand(AsyncPackage package, OleMenuCommandService
this.package = package;
this.dte = (DTE2)Package.GetGlobalService(typeof(SDTE));

var menuCommandID = new CommandID(CommandSet, CommandId);
var menuItem = new MenuCommand(this.Execute, menuCommandID);
var menuCommandId = new CommandID(CommandSet, CommandId);
var menuItem = new MenuCommand(this.Execute, menuCommandId);

commandService.AddCommand(menuItem);
commandService?.AddCommand(menuItem);
}

/// <summary>
/// Returns the command instance.
/// </summary>
public static DebugAttachToProcessCommand Instance { get; private set; }
// ReSharper disable once UnusedAutoPropertyAccessor.Local
private static DebugAttachToProcessCommand Instance { get; set; }

/// <summary>
/// Gets the service provider from the owner package.
/// </summary>
private Microsoft.VisualStudio.Shell.IAsyncServiceProvider ServiceProvider => this.package;
// ReSharper disable once UnusedMember.Local
private IAsyncServiceProvider ServiceProvider => this.package;

/// <summary>
/// Initializes the singleton instance of the command.
Expand All @@ -104,9 +91,7 @@ private DebugAttachToProcessCommand(AsyncPackage package, OleMenuCommandService
public static async Task InitializeAsync(AsyncPackage package)
{
await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(package.DisposalToken);

var commandService = await package.GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService;

DebugAttachToProcessCommand.Instance = new DebugAttachToProcessCommand(package, commandService);
}

Expand Down
Loading