Description
Package
None
Is your feature request related to a problem?
Originally discussed here: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2658/files#r2030453885
To simplify the build, pack and publish process, the build for this repository should migrate to the new Artifacts output layout added in .NET 8.
This makes it easier to find build artifacts as they are placed in a predictable consistent location (or in the case of NuGet packages, an exact location).
For cases where the location is still project specific, the structure is flatter, and all build output is still ultimately placed in the same directory (artifacts
) without being spread out amongst other content (like the code).
Code such as the below can be simplified:
Locations such as the below can be pointed to a single directory, creating a flatted structure to the ZIP artifacts:
What is the expected behavior?
All build and test artifacts are placed in the artifacts
directory in the root of the repository.
Which alternative solutions or features have you considered?
None.
Additional context
https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2658/files#r2030453885