Skip to content
Discussion options

You must be logged in to vote

I did some further experiments and it turns out that I ran into the following described in https://docs.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-trace#use-diagnostic-port-to-collect-a-trace-from-app-startup

Launching your app with dotnet run can be problematic because the dotnet CLI may spawn many child processes that are not your app and they can connect to dotnet-trace before your app, leaving your app to be suspended at run time. It is recommended you directly use a self-contained version of the app or use dotnet exec to launch the application.

Thus, I might have traced a different process than my Hello World application which might explain the file size difference. Running d…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@steveisok
Comment options

@lateralusX
Comment options

@lateralusX
Comment options

@lateralusX
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by stefan-sf-ibm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants