mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #72] Port from .NET Framework to .NET 6 #56
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @majkinetor on GitHub (Feb 1, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/72
Originally assigned to: @VShawn on GitHub.
App should be ported to .NET 5 as it is the only version of net moving forward.
Split from #26
@VShawn commented on GitHub (Feb 25, 2021):
find it maybe not a very good timeing for Desktop application with .NET 5.
I build a .NET 5 based application for test recently, coding is smooth with Net5, but the deployment is stuck, and I dont see much benefits on UI or UX with Net5 now.
environment install
since .net 5 was not built-in in any win10 version, our user have to install .net 5 runtime themselves, while our current version with .net framework 4.8 most people can run app without any runtime installation.
I test my new test .net5 app on my workmate‘s companies, none of them can run directly. Double click the exe, nothing happen,no window shows no runtime error report.
while .net framework4.7 application run on none-4.7-runtime machine:

self-contained deployment mode.
in this mode, app will built-in .net5 runtime, this works on my workmate‘s companies, only the app become huge:
2MB -> 132MB
which means our user may have to dowload a huge package in this deployment mode, the single exe is nice by the way.
Microsoft Store
not test yet, doubt how they fix the runtime problem.
@majkinetor commented on GitHub (Feb 25, 2021):
Sounds reasonable.
Coding speed is one of the major benefits and attraction of new contributors. Its not everything about end users. Not sure if that is one of your goals tho.
Yeah they do, once. 100MB+ is something you get when you include entire framework, however you can cherry pick parts of it to reduce it. Also, even if PRM brings dotNet framework with itself, it could do it only once so updates will be fast.
Downloading 100MB is not big deal nowdays, many apps are in that range, particularly electron apps that bring entire browser with itself.
Old framework is dead technology too.
Be all that as it is, you might be right, that timing is not good. However, I think you should at least not use any library that doesn't have .NET5 version because once when all those problems go away, you will have much easier time switching over...
@VShawn commented on GitHub (Feb 25, 2021):
this has been taken into consideration since PRM was 0.01. In all libaray I used, Dragablz is the only one that does not support .net core https://github.com/ButchersBoy/Dragablz/issues/231. expecting Dragablz update or find a replacement library.
@majkinetor commented on GitHub (Feb 25, 2021):
There is a fork for Dragablz that supports it.
@VShawn commented on GitHub (Feb 25, 2021):
https://github.com/miroiu/Dragablz? this fork has been deleted
@majkinetor commented on GitHub (Feb 25, 2021):
https://www.nuget.org/packages/Dragablz.NetCore/
@majkinetor commented on GitHub (Feb 25, 2021):
Ah, its unlisted.... ignore
@VShawn commented on GitHub (Feb 26, 2021):
it was shown when running on my win server 2019
@majkinetor commented on GitHub (Apr 8, 2021):
FYI, there is no plan to include .NET5 distribution in the Windows out of the box:
@VShawn commented on GitHub (Nov 10, 2021):
.net 6 lts is released now.
@VShawn commented on GitHub (Apr 23, 2022):
it is done !
@majkinetor commented on GitHub (Apr 23, 2022):
Ooo.. awesome.