Reputation: 33
I've just downloaded the Visual Studio 2017 Community.
Once I try to compile any program (even the simplest "Hello World") with any configuration (release/debug, x86/x64, empty project/windows console application), I get the following error:
Microsoft.CppCommon.targets(381,5): error MSB6006: error MSB6006: "CL.exe" exited with code -1073741515
(This error means STATUS_DLL_NOT_FOUND
, I know it's been asked before, but I don't know how to check what DLLs are missed).
Microsoft.CppCommon.targets(381):
<CL Condition="'%(ClCompile.PrecompiledHeader)' != 'Create' and
'%(ClCompile.ExcludedFromBuild)'!='true' and
'%(ClCompile.CompilerIteration)' == '' and @(ClCompile) != ''"
Do you know how to check what DLLs are missing?
Upvotes: 0
Views: 905
Reputation: 503
I'm new but i hope I'll answer quite properly. To reach the actual error code you need to change it to hex. Yours is
C0000135
. As far as I know it's file damage related,so you're right about dll missing. In older visuals the way to know it was via command line.
Ran
msbuild.exe <my.sln> /t:<mytargetproject>
from a VS2010 command prompt, where<my.sln>
is your solution name and<mytargetproject>
is the project you are trying to build. For e.g.msbuild.exe helloworld.sln /t:mainproj
.
That is a cite from different post in stackoverflow.
Hope it will be easier for you to resolve problem with this. Can't help more as I don't use VS neither Windows. Good luck!
Upvotes: 2