0

When developing a single file self-contained WPF application using .NET 8 that uses the WebView2 component, a folder is created under %temp%\.net while the application is running.

What is the purpose of this folder, when and how is it created, and is it possible or needed to clean up this folder when the application is closed?

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.