a different day a different msbuild issue...
Recently I started working on a small tweak to an existing web project, its a small internal dashboard sort of thing nothing complicated about it. However after I started working on it I found I could no longer build the project it came up with: ): error CS1525: Invalid expression term 'throw' ): error CS1002: ; expected error CS1043: { or ; expected error CS1513: } expected : error CS1014: A get or set accessor expected : error CS1513: } expected When I looked at the location of the build errors I could see some perfectly valid code, all be it C#7: public IEnumerable<AttemptResult> Attempts { get => _attempts; set => _attempts = (value ?? Enumerable.Empty<AttemptResult>()); } Why would it not like the C#7 code, i'm in VS2017 it should all be correct, when I double checked the language setting under Advanced Build Settings it correctly had C# latest major version, so it wasn't a case the project had got pinned to a lan...