Support Directory.build.props
We use Directory.build.props a lot. For example to define variables (within PropertyGroup) and use these variables as TargetFramework in the project files.
Please support this approach the same way msbuild support it.
-
We do support Directory.build.props, but unfortunately we can't support it for certain properties (like TargetFrameworks). This is unfortunately due to technical limitations that we haven't yet found a way around.
If you're using Directory.build.props to set TargetFrameworks, a simple workaround is to use the NCrunch Custom Build Properties setting to force NCrunch to use a specific set of frameworks. https://www.ncrunch.net/documentation/reference_project-configuration_custom-build-properties
If you set the TargetFrameworks build property to the frameworks you intend to use NCrunch for, there will be no need to adjust the way you specify it in your projects, and you can keep using Directory.build.props as you are.