Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This isn't the latest version of this article. For the current release, see the .NET 11 version of this article.
The publish directory contains the app's deployable assets produced by the dotnet publish command. The directory contains:
- Application files
- Configuration files
- Static assets
- Packages
- A runtime (self-contained deployment only)
| App Type | Directory Structure |
|---|---|
| Framework-dependent Executable (FDE) |
|
| Self-contained Deployment (SCD) |
|
†Indicates a directory
The publish directory represents the content root path, also called the application base path, of the deployment. Whatever name is given to the publish directory of the deployed app on the server, its location serves as the server's physical path to the hosted app.
The wwwroot directory, if present, only contains static assets.
Additional resources
ASP.NET Core