Repository navigation
Visual Studio 2022 support with .NET 6 installation - #49
Conversation
|
can you also add my PR #38 and provide a vsix until this is merged ? |
|
Can you provide the vsix file? Thank you for the hard work! |
For me it was a pleasure. The hard work was done by nforgeio. I am fairly new to github. Where can I make the vsix file available? Let me know, please. |
submit it with an different ID to gallery until it is merged. Can you also add my PR and update the lib to 17.x version. |
|
Thanks MagicAndre1981, I'll try to submit it to gallery. |
|
I checked out this branch and built it then used the debug vsix to install to VS 2022. However when I go to add a new raspberry connection and fill in the known good details, it locks up and I have to kill VS with the task manager. Any ideas before I start digging into a debug cycle? |
|
Is it an ASP.NET project? It's searching for an "Absolute path" - don't know why. Seems to be an VS debugging issue. Have the same. Not opened a ticket at Microsoft Studio Team so far. The rest was working well for me. Use it quite often. |
|
Thanks Stan, This if for my second job so it may be weekend before I can dig but I will do.
From: StanDeMan ***@***.***>
Sent: Monday, February 28, 2022 9:09 AM
To: nforgeio/RaspberryDebugger ***@***.***>
Cc: tlemmons ***@***.***>; Comment ***@***.***>
Subject: Re: [nforgeio/RaspberryDebugger] Visual Studio 2022 support with .NET 6 installation (PR #49)
Is it an ASP.NET project? It's searching for an "Absolut path" - don't know why. Seems to be an VS debugging issue. Have the same. Not opened an ticket at Microsoft Studio Team so far.
Another issue with this VS extrnsion seems to be only projects are transferred to RasPi - not solutions. Feel free to debug and let us participate, please. Thanks a lot.
—
Reply to this email directly, view it on GitHub <#49 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABR2J7TIQ6QDXUEXK6N43NDU5OM2XANCNFSM5JLRJLDA> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ABR2J7V23V26ZKKNWGOEKJDU5OM2XA5CNFSM5JLRJLDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOH3MRITI.gif> Message ID: ***@***.*** ***@***.***> >
|
|
Hi guys. I'm so sorry I've neglected the debugger for the last year+. I've not had the energy. What would you think about being promoted to be maintainers? |
|
@StanDeMan do you need still help to publish the vsix? |
|
@daim2k5 Nop. Thanks. Kann publish the VSIX. Without fixing the mentioned (known) issues:
I try to publish till end of this week. |
|
@ALL I published the vsix but it is private in the market place. Does Mircosoft check it first - like Google does in their stores? |
|
@StanDeMan which status do you see on https://marketplace.visualstudio.com/manage ? |
|
@daim2k5 hm? Still "not public". Maybe I need to get a publisher, registering a DNS - what i don't have? I'll watch the youtube video. Thanks a lot. |
|
@ALL Now it's public. Missed the free dots and the menu in there - making it public. ;) @daim2k5 Thanks for the video. ASP.NET is still an issue - telling the debugger an "Absolue Path" is needed. Kindest regards - Stanislaus |
thanks, works so far in 17.2 Preview 1.0 with console app with .net 6 and RP4 . But if a csproj contains more at least 2 targetframeworks, the app always runs on the local windows with. So it would be nice to port my PR to VS2022 |
|
@ [MagicAndre1981] Thanks a lot for your feedback. Can you do the PR against my repo, please? I'll do the port asap. |
Ok, I created a PR, but I can't test my PR, because the entry |
|
@ MagicAndre1981 Thanks for the PR. Let me see. For the moment I only support .NET 6 - as mentioned for upload. So I have to do more work here... |
|
yes, this is clear, but I have no idea where to find the code that shows the entry Raspberry Debug Settings and why it doesn't show up. |
|
Okay. Sorry. For me it is the first VSIX I came into contact with. Never did this before. |
|
ok, IsActiveProjectRaspberryCompatible returns false for csproj with multiple TargetFrameworks in your version and true for original extension in VS2019. This is why the entry is removed from menu. |
|
@MagicAndre1981 Thanks a lot. I'll take the PR and check this. If everything goes well I'll create and push a new VSiX. |
|
ok, the check for IsStandalone looks to be the cause for returning false. Adding |
|
ok, this IsStandalone is indeed wrong. The 100, 200, 300 are feature levels and no indication for standalone or VS bundled SDK version. 100 is the first SDK shipped with VS2022 17.0, 200 is shipped/compatible with VS2022 17.1. if you don't use Visual Studio at all, always pick the highest version to get most features. I need to test it more, but my original PR still works, I have csproj with 3 frameworks and my selected 6.0 can be debugged. You also need to update the SDK/runtimes to lastest versions from March 2022 patchday. |
|
there are more bugs. The |
|
I am using Blazor Wasm and I was also getting 'The path must be absolute' Exception if there is no Adding my Server and Client csproj config - maybe it helps. server csproj: Blazor csproj: |
Thanks a lot for this hint. I get exactly the same error if I try to debug ASP.NET projects with wwwroot path - without wwwroot everything is working well. Hopefully I'll have a few free minutes this weekend to take MagicAndre1981's changes and test this hint. It would be nice if a new version can be built and made available in NuGet. I'll see what can be done. Thanks a lot for the support. Kindest regards @Reveon
Asp.NET debugging is working now! :) Nothing to do with the debugger! |
|
Sorry I have been away and swamped. Just getting back to this. I have downloaded the latest built and trying to debug. When I create a new connection to my raspberry pi 4, it tries to connect and never returns. I have traced it to connection.cs -> connectAsync line 91. I have tried changing the timespan to a few seconds and putting a try catch around it but it still never returns. Any ideas on tracing farther in or why this would be the case? @StanDeMan you said it needed an "Absolute path" but I am not seeing anything about that. |
Optional proxy
Https is supported hint in readme
Adds support for Raspberry Pi Compute Module 4.
Raspberry Pi Compute Module 4 Support
Debugging options are for all projects the same
|
Sorry, I'm cleaning out my old mail.
Yeah, I could add @StanDeMan <https://github.com/StanDeMan>as a maintainer
if he likes and also give him rights to the publish the VSIX to the Visual
Studio MarketPlace.
…On Thu, Mar 3, 2022 at 3:18 AM Damian Luszczymak ***@***.***> wrote:
@StanDeMan <https://github.com/StanDeMan> do you need still help to
publish the vsix?
@jefflill <https://github.com/jefflill> sounds good. Are you suggest
@StanDeMan <https://github.com/StanDeMan> as Maintainer?
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFOLD6ZRR2P375WFBBG22DU6CNZ5ANCNFSM5JLRJLDA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Hi Jeff, it's okay for me to give me the rights. You are welcome. I published the stuff on my own VS Marketplace. I implemented a html grepping service to grep the actual .NET versions every day into a json file, too. Do you know where I can host this for free? My Azure Account gets shut off for some days at the end of the month - having too many services hosted. ;) Heroku seems not to be an option. Wasn't able to host for free so far. Don't know why this wasn't working? Have to try once again. If the service cannot be reached the debugger is still working - using the deployed json in the debugger release - only actual on release date. But the service is always sending the actual .NET versions available on Microsoft download pages. Thanks a lot for your great work and tool! We love it! :) Kindest regards |
|
That all sounds very cool. It’s really great that you were able to pick
this up and run with it. That’s what open source is all about.
The Rasberry Debugger name in the VS marketplace is pretty nice, maybe it
would make sense to continue publishing there so people will be able to
find it easily and not be confused?
We do have a rack in a local (Seattle data enter) we could use for hosting
your code. We’re running Kubernetes on Linux there so we could host this
as a container/pod in one of our cluster, or even as a small standalone VM.
I’m presuming this is some sort of website that’s fetching the versions
every day?
I’m not sure we can open the VPN for you but if this were a container, we
could host the container image at GitHub Container registry for free and
then configure some kind of script to upgrade the container/pod every 10
min or something, so all you’d need to do is push new builds as a container
image to GitHub.
—Jeff
…On Tue, Oct 11, 2022 at 12:33 AM StanDeMan ***@***.***> wrote:
Hi Jeff, it's okay for me to give me the rights. You are welcome. I
published the stuff on my own VS Marketplace.
Let me know if this is okay for you?
I implemented a html grepping service to grep the actual .NET versions
every day into a json file, too. Do you know where I can host this for
free? My Azure Account gets shut off for some days at the end of the month
- having too many services hosted. ;) Heroku seems not to be an option.
Wasn't able to host for free so far. Don't know why this wasn't working?
Have to try once again. If the service cannot be reached the debugger is
still working - using the deployed json in the debugger release - only
actual on release date. But the service is always sending the actual .NET
versions available on Microsoft download pages.
Thanks a lot for your great work and tool! We love it! :)
Kindest regards
StanDeMan
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFOLD3WUTYAYATXDBGQSITWCUJ6HANCNFSM5JLRJLDA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Take .NET 7.0 into account
|
Merged to: main |


-> no tests done if any .NET is preinstalled. Behaviour for this situation is unkown so far.