forked from dotnet/aspnetcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fullpath for WebRootPath in WebApplicationBuilder (dotnet#34140)
* Use fullpath for WebRootPath in WebApplicationBuilder * Return absolute contentRootPath if webRootPath is null * Use fallback ContentRootPath value in setter * Set file providers when paths are set * Add more tests and clean up property setters * Set initial directory back to CurrentDirectory * Resolve WebRootPath dynamically and set default * Fix up relative paths in tests * Update both file providers if ContentRootPath changes * Use GetCurrentDirectory() for test cases and update provider setter * Unsetting ContentRootPath falls back to CurrentDirectory * No-op if path values not changed in setter
- Loading branch information
1 parent
a017f74
commit 38dd49c
Showing
4 changed files
with
207 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters