Need to publish?
-
Does a .NET 8 application need to be "published" before it can run properly? Or is building it good enough?
The difficult we do right away... ...the impossible takes slightly longer.
-
Does a .NET 8 application need to be "published" before it can run properly? Or is building it good enough?
The difficult we do right away... ...the impossible takes slightly longer.
Building it is good enough. Publishing just packages the thing up for distribution. You don't even need to "publish" the app is you know all the files in the app that must be distributed. You can just pick out the files and make an installer with them if you know what files you need.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
-
Building it is good enough. Publishing just packages the thing up for distribution. You don't even need to "publish" the app is you know all the files in the app that must be distributed. You can just pick out the files and make an installer with them if you know what files you need.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
Thanks! I'm making my first foray into .NET 8 coming from the .NET Framework. Never thought I could learn this, but it's coming along.
The difficult we do right away... ...the impossible takes slightly longer.
-
Does a .NET 8 application need to be "published" before it can run properly? Or is building it good enough?
The difficult we do right away... ...the impossible takes slightly longer.
I only use Publish if it's an Azure web (Blazor) app or Azure Function app. For console apps I just copy everything in and under \bin\Release\net8.0 to the new destination.
There are no solutions, only trade-offs.
- Thomas SowellA day can really slip by when you're deliberately avoiding what you're supposed to do.
- Calvin (Bill Watterson, Calvin & Hobbes)