Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@plioi
Copy link
Contributor

@plioi plioi commented Nov 15, 2023

The .NET 8 SDK adds support for "Artifacts Output Layout", which moves the per-project support folders like bin/ and obj/ to a common location outside of the project folders, as well as adjusting naming conventions around Configuration (Release, Debug...) and Target Framework Monikers (net8.0, ...).

Although the feature arrives in the .NET 8 SDK, it works for projects that target older frameworks, so this is appropriate even before the upcoming phasing-out of old frameworks.

We enable the feature, simplify .gitignore, and visit all hardcoded paths affected by the move.

Additionally, since this creates some ambiguity of purpose between the new src/artifacts/ folder and our root artifacts folder where packages are output during CI builds, we rename that root folder to the more accurate name packages.

There was some risk that this feature would thwart old naive assumptions about build output paths with respect to their associated project code folder, but after testing console and IDE runs it appears we were already being defensive about the possibilities of custom OutputPath in any end user solution.

…ty of what it contains and to avoid mistaking it for the similarly named folder /src/packages which contains the bin/ and obj/ folders for each project of the solution.
@plioi plioi force-pushed the artifacts-output-layout branch from 8303653 to b8fec63 Compare November 18, 2023 16:39
@plioi plioi merged commit 8524c4c into main Nov 18, 2023
@plioi plioi deleted the artifacts-output-layout branch November 18, 2023 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants