Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Fix props to support more than one project
Ran across this while working on open-feature/dotnet-sdk-contrib#127, and tldr; if there's more than one project under `src/`, having the `<PackageId>` hard-coded in `build/Common.prod.props` causes MSBuild to panic. There are two options to fix this: 1. ```diff - <PackageId>OpenFeature</PackageId> + <PackageId>$(MSBuildProjectName)</PackageId> ``` 2. ```diff - <PackageId>OpenFeature</PackageId> ``` Since NuGet defaults `PackageId` to the assembly name, I'm opting for (2), but if I've overlooked some nuance/custom build steps that require setting `PackageId` explicitly, then we could just as well fallback to (1). Signed-off-by: Austin Drenski <[email protected]>
- Loading branch information