Errors when building projects with MSBuild

I’m using Final Builder 8 build 2281. 
Recently I decided to use C# 7 features, so I install DevTools(MSBuild v15 included) and try to build Final Builder project. Some .csproj files were build just fine, but some of them have errors.
This errors are located in depended projects of the projects, which included in FB. When I manually build in Visual Studio these depended projects, projects in FB work fine for some time, then again throw an errors.
This is the error:
Administration\DailyAutoCheck.cs(181,64): error CS0117: ‘ErrorCodeEnum’ does not contain a definition for 'GetGenericSettlementReportDataFailed’

What can be the problem? Maybe, I should specify some MSBuild parameters? Thanks for any help.
P.S. Sorry for bad English

I suspect you may actually need to install visual studio (community edition would do it).