Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Understanding %temp%\.net Folder | WPF | Single File | Self Contained | WebView2 #10665

Answered by danthe74
danthe74 asked this question in Q&A
Discussion options

You must be logged in to vote

After some discussion, I found the solution:
The folder %temp%\.net is needed because we are using native libraries (in our case the WebView2 component) in a single file deployment.

This folder is used to extract the native libraries from the single executable and load them into memory. More information on this can be found here: (Single-file deployment | Native libraries)[https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#native-libraries].

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by danthe74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant