Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

MSBuild report error running code analysis: fatal error C1250: Unable to load plug-in

$
0
0

I got following error when compiling the c++ project with Build Tools 2017 in Windows container "windowservercore".

Running Code Analysis for C/C++...

c1xx : error C2220: warning treated as error - no 'object' file generated [C:\jenkins\workspace\ABC-DEV\ABC\ABC.vcxproj]
c1xx : fatal error C1250: Unable to load plug-in 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\localespc.dll'. [C:\jenkins\workspace\ABC-DEV\ABC\ABC.vcxproj]

But it does not report this error when running the same compile script on a Win10.

The Win 10 installed with Build Tools 2017 and same work loads as the container.

localespc.dll is actually under 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin' in container.

Anyone knows how to resolve this?

Compile script:

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64

"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe"  C:\Work\ABC.sln /p:configuration=Release /p:platform=x64 /t:rebuild




Viewing all articles
Browse latest Browse all 2763

Trending Articles