Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: automatically include a parent Directory.Build.props if we are…
… used as a sub-module - when using this repository as a sub-module to build from source, this makes it possible to override the target framework versions from the outside - only include the parent file if it exsists, and if it looks like we are in a sub-module (to mitigate any possible attack where an attacker would be able to inject a malicious props file in the parent folder of the CI worker) - to detect that we are in a sub-module, we use the fact that the `.git` is a file for sub-modules, and a directory for top-level modules.
- Loading branch information