Directory.Build.targets is ignored (with Rider?)
I'm trying out Rider for the first time, and I'm guessing I have some kinda configuration issue, cause I can't get https://github.com/reactivemarbles/DynamicData to build with a fresh clone. I didn't have any issues building in VS a few weeks ago, and it built successfully in CI/CD last week. There's been no changes to project or solution config in months.
It appears that MSBuild is ignoring the Directory.Build.targets file in the solution root, because all the build errors relate to some #if symbols that are conditionally defined in that file. If I remove the conditions and just define the constants statically, they still seem to be missing. Putting them in Directory.Build.props works, though.
Is there some Rider configuration that could be causing this? Or did MSBuild maybe change recently? I'm using the copy of MSBuild (17.14) that's bundled with .NET SDK 9.0.305, which is the latest SDK version. Also confirmed I get the same behavior in the CLI with just
It appears that MSBuild is ignoring the Directory.Build.targets file in the solution root, because all the build errors relate to some #if symbols that are conditionally defined in that file. If I remove the conditions and just define the constants statically, they still seem to be missing. Putting them in Directory.Build.props works, though.
Is there some Rider configuration that could be causing this? Or did MSBuild maybe change recently? I'm using the copy of MSBuild (17.14) that's bundled with .NET SDK 9.0.305, which is the latest SDK version. Also confirmed I get the same behavior in the CLI with just
dotnet build in the solution directory.GitHub
Reactive collections based on Rx.Net. Contribute to reactivemarbles/DynamicData development by creating an account on GitHub.