Skip to content

Commit a78334a

Browse files
dsplaistedrolfbjarneakoeplingerbaronfel
authored
Apply suggestions from code review
Co-authored-by: Rolf Bjarne Kvinge <[email protected]> Co-authored-by: Alexander Köplinger <[email protected]> Co-authored-by: Chet Husk <[email protected]>
1 parent 0fea6f5 commit a78334a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

accepted/2022/simplify-output-paths.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ Currently, the default output path for a .NET project includes folders for the `
99
- `bin\<Configuration>\<TargetFramework>\publish` - Publish output with no `RuntimeIdentifier`
1010
- `bin\<Configuration>\<TargetFramework>\<RuntimeIdentifier>\publish` - Publish output with `RuntimeIdentifier`
1111

12-
This is rather complicated an inconsistent, which can make for a poor first impression of the .NET platform.
12+
This is rather complicated and inconsistent, which can make for a poor first impression of the .NET platform.
1313

1414
We'd like to try to improve the output path structure. Desired qualities include:
1515

1616
- Simple and consistent
1717
- Avoid cases where one output path is nested inside of another one
18-
- Avoid excessively deep directory heirarchies
18+
- Avoid excessively deep directory hierarchies
1919
- Get rid of `obj` folder in project root
2020

2121
## Proposed behavior
2222

23-
Projects targeting .NET and higher will by default use a new output path format. The output path will consist of the following 3 nested folders
23+
Projects targeting .NET 8 and higher will by default use a new output path format. The output path will consist of the following 3 nested folders
2424

2525
- `bin` - All output (including intermediate output, will go under this folder)
2626
- Output Type - Such as `build`, `publish`, `obj`, or `packages`
2727
- Pivots - This will at minimum be the `Configuration`, such as `Debug` or `Release`. Other pivots such as `TargetFramework` or `RuntimeIdentifier` may also be included, and the pivots will be joined by the underscore (`_`) character
2828
- `TargetFramework` will be included in the folder name if the project is multi-targeted (`TargetFrameworks` is non-empty), or if the `TargetFramework` property was set via the command line (ie is a global property)
29-
- `RuntimeIdentifier` will be included in the folder name if it was explicitly set (either in a project file or on the command line). If it is set automatically by the SDK (for exmaple because `SelfContained` was set)
29+
- `RuntimeIdentifier` will be included in the folder name if it was explicitly set (either in a project file or on the command line). If it is set automatically by the SDK (for example because `SelfContained` was set)
3030

3131
Some examples:
3232

0 commit comments

Comments
 (0)