Click here to Skip to main content
14,869,740 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Nano defender Pin
markrlondon22-Oct-20 5:56
Membermarkrlondon22-Oct-20 5:56 
General.Net Core self-contained Pin
Nelek21-Oct-20 23:16
protectorNelek21-Oct-20 23:16 
GeneralRe: .Net Core self-contained Pin
Shao Voon Wong22-Oct-20 0:14
mvaShao Voon Wong22-Oct-20 0:14 
GeneralRe: .Net Core self-contained Pin
honey the codewitch22-Oct-20 0:45
mvahoney the codewitch22-Oct-20 0:45 
GeneralRe: .Net Core self-contained Pin
Johnny J.22-Oct-20 0:51
professionalJohnny J.22-Oct-20 0:51 
GeneralRe: .Net Core self-contained Pin
honey the codewitch22-Oct-20 0:53
mvahoney the codewitch22-Oct-20 0:53 
GeneralRe: .Net Core self-contained Pin
CodeWraith22-Oct-20 2:15
MemberCodeWraith22-Oct-20 2:15 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 1:22
protectorNelek22-Oct-20 1:22 
Shao Voon Wong wrote:
Hopefully, the .NET team can take a leaf from the Visual C++ team to get the executable size down. C++ does not link the unused classes and remove the methods not called at all (directly or indirectly) from the executable.
I think they have already done that
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=trueThat should deprecate what is not used.
In a simple hello world console reduces the memory needs from 69 to 29 Mb
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: .Net Core self-contained Pin
Shao Voon Wong22-Oct-20 1:37
mvaShao Voon Wong22-Oct-20 1:37 
GeneralRe: .Net Core self-contained Pin
lmoelleb22-Oct-20 2:57
Memberlmoelleb22-Oct-20 2:57 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 8:34
protectorNelek22-Oct-20 8:34 
GeneralRe: .Net Core self-contained Pin
CCostaT23-Oct-20 4:32
MemberCCostaT23-Oct-20 4:32 
GeneralRe: .Net Core self-contained Pin
Daniel Wilianto23-Oct-20 18:04
MemberDaniel Wilianto23-Oct-20 18:04 
GeneralRe: .Net Core self-contained Pin
Gerry Schmitz22-Oct-20 1:14
mveGerry Schmitz22-Oct-20 1:14 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 1:30
protectorNelek22-Oct-20 1:30 
GeneralRe: .Net Core self-contained Pin
Gerry Schmitz22-Oct-20 2:14
mveGerry Schmitz22-Oct-20 2:14 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 20:42
protectorNelek22-Oct-20 20:42 
GeneralRe: .Net Core self-contained Pin
CodeWraith22-Oct-20 2:00
MemberCodeWraith22-Oct-20 2:00 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 8:47
protectorNelek22-Oct-20 8:47 
GeneralRe: .Net Core self-contained Pin
CodeWraith22-Oct-20 11:16
MemberCodeWraith22-Oct-20 11:16 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 20:36
protectorNelek22-Oct-20 20:36 
GeneralRe: .Net Core self-contained Pin
Reelix23-Oct-20 1:54
MemberReelix23-Oct-20 1:54 
GeneralRe: .Net Core self-contained Pin
danielrail23-Oct-20 2:53
professionaldanielrail23-Oct-20 2:53 
GeneralRe: .Net Core self-contained Pin
Dan Neely22-Oct-20 2:28
MemberDan Neely22-Oct-20 2:28 
GeneralRe: .Net Core self-contained Pin
Nelek22-Oct-20 8:55
protectorNelek22-Oct-20 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.