MSB4018 The NativeCodeAnalysis task failed unexpectedly.
I'm trying to build Graphviz from source on Windows. (I'm using latest master, although I would have no problem with going back a bit.)
Per the build instructions, I've initialized the submodules. Then I modified the local PATH as instructed in PowerShell and launched Visual Studio from the same session:
$env:Path = "$pwd\windows\dependencies\graphviz-build-utilities;$env:Path"
& "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe
" ".\graphviz.sln"
With that background, I'm getting this error repeatedly:
MSB4018 The "NativeCodeAnalysis" task failed unexpectedly.
The error seems to be reported for each project, against line 407 of C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\VisualStudio\v15.0\CodeAnalysis\Microsoft.CodeAnalysis.Targets
Did I miss a step?
Edited by Chris Carter