dotnet / dotnet/docs

Bundled executable is still being extracted in the %Temp%\.net folder, even in dot net 6.0?

Open
#27,217 1 comment 0 reactions 0 assignees View on GitHub
dotnet-fundamentals/svc waiting-on-feedback
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

From the docs: [https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file#output-differences-from-net-3x](url)
> Starting with .NET 5, only managed DLLs are bundled with the app into a single executable. When the app starts, the managed DLLs are extracted and loaded in memory, avoiding the extraction to a folder.

Problem is: I see that even in dot net 6.0 the bundled executable is being extracted in the %Temp%\.net folder. How can one avoid this?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: e1932751-7c2b-ce92-936e-e97f8581d5fa
* Version Independent ID: de677d1f-386a-e4c3-fdd0-6806b3ef2c0e
* Content: [Single file application - .NET](https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file)
* Content Source: [docs/core/deploying/single-file.md](https://github.com/dotnet/docs/blob/main/docs/core/deploying/single-file.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @LakshanF
* Microsoft Alias: **lakshanf**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.