I've updated to NCrunch 3.23.0.10, on the Grid Node first and in VS 2017.
But there is a regression in there.
There is Directory.build.props file in the Solution. The Content is simple
Code:
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
</PropertyGroup>
</Project>
This set the LangVersion for all Projects to latest, because it sucks to do it in every projects. The are
additional props file, but only for test projects. The failing of building was also in the normale projects.
The Structure is like that (in reality it is a little bit more complicated, not my idea)
|
|-src
| |- ProjectA
| | |- ProjectA.csproj
| |- ProjectB
| |- ProjectB.csproj
| Directory.build.props
Solution.sln
After Upgrading to 3.23 every Project which used newer C# Feature failed to build. Such things
happens sometimes after upgrades so i restartet the Host Machine of the Grid Node. Problem still
present, i restarted my machine, problem sill present. I restarted the NCrunch Endinge and Synchronised the
with VS each time. Problem still happend. NCrunch was not picking up the Directory.builds.props file.
So i decided to run Tests locally on my machine, and all projects are build and tests are run (while starting
writing this post). My plan was to switch back to the Grid Node and add the props files to additional files.
I switch back to the Grid Node, and now it is building fine (Restarting the Engine), and the tests are also fine.
Without adding the props file.
I know the reproducability is hard. But i decided to inform you about it anyway. I can work now ;)
Best Regards
Albert