GitVersion icon indicating copy to clipboard operation
GitVersion copied to clipboard

Fix Directory.Build.props

Open 9swampy opened this issue 5 months ago • 1 comments

Description

Fix IsUnitTestProject (cannot be specified twice) and MSBuildProjectName.EndsWith (was invalid syntax so NCrunch was broken and VS was padlock unhappy if tolerant)

Related Issue

Motivation and Context

VS2022 wasn't happy and nCrunch wasn't building at all.

How Has This Been Tested?

With the fix VisualStudio is happy again, but unfortunately NCrunch still isn't and that was really what I was aiming for. I'll propose the VisualStudio fix at least for now. If you know how to fix NCrunch please do let me know. I could see quite a few years ago there were some Issues raised to get NCrunch running again so hopefully someone's in the know?

Screenshots (if appropriate):

image

Checklist:

  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

9swampy avatar Jun 21 '25 22:06 9swampy