Watfaq / PowerSession

Record a Session in PowerShell
MIT License
152 stars 9 forks source link

Move to .NET 5 #16

Closed sitiom closed 3 years ago

sitiom commented 3 years ago

.NET Core 3.0 is out of support now, as mentioned in this warning: warning

Also, can you make the executable even smaller by not making it self-contained?

dotnet publish -c Release -r win10-x64 -p:PublishSingleFile=true --no-self-contained

image

ibigbug commented 3 years ago

Also, can you make the executable even smaller by not making it self-contained?

That's right - thought that will require the users to have the runtime pre-installed, which was one thing that I tried in the first place.

However due to some reason at that time installing the runtime doesn't make it to be able to run the non-self-contained, the SDK was also required.

That said, it may have changed or I might have missed something by then, and I think it's worth to have both self-contained and non-self-contained release artefacts.

sitiom commented 3 years ago

Also, can you make the executable even smaller by not making it self-contained?

That's right - thought that will require the users to have the runtime pre-installed, which was one thing that I tried in the first place.

However due to some reason at that time installing the runtime doesn't make it to be able to run the non-self-contained, the SDK was also required.

That said, it may have changed or I might have missed something by then, and I think it's worth to have both self-contained and non-self-contained release artefacts.

I don't think the SDK has anything to with it though, you just need the runtime and it will run just fine.

ibigbug commented 3 years ago

It’s the way it supposed to be.

On Tue, May 18, 2021 at 10:34 sitiom @.***> wrote:

Also, can you make the executable even smaller by not making it self-contained?

That's right - thought that will require the users to have the runtime pre-installed, which was one thing that I tried in the first place.

However due to some reason at that time installing the runtime doesn't make it to be able to run the non-self-contained, the SDK was also required.

That said, it may have changed or I might have missed something by then, and I think it's worth to have both self-contained and non-self-contained release artefacts.

I don't think the SDK has anything to with it though, you just need the runtime and it will run just fine.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/ibigbug/PowerSession/pull/16#issuecomment-842734108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEEVLKGCT3CHB42Q274YS3TOGYYFANCNFSM447OHDSA .

-- Sent from Gmail Mobile