Visual studio - 如何检查我的程序需要哪些 DLL 以 run/what DLL 丢失?
Visual studio - how to check what DLLs does my program need to run/what DLLs are missed?
我刚刚下载了 Visual Studio 2017 社区。
一旦我尝试使用任何配置(release/debug、x86/x64、空 project/windows 控制台应用程序)编译任何程序(即使是最简单的 "Hello World"),我会收到以下错误:
Microsoft.CppCommon.targets(381,5): error MSB6006: error MSB6006: "CL.exe" exited with code -1073741515
(这个错误的意思是STATUS_DLL_NOT_FOUND
,我知道之前有人问过,但我不知道如何检查遗漏了哪些DLL)。
Microsoft.CppCommon.targets(381):
<CL Condition="'%(ClCompile.PrecompiledHeader)' != 'Create' and
'%(ClCompile.ExcludedFromBuild)'!='true' and
'%(ClCompile.CompilerIteration)' == '' and @(ClCompile) != ''"
您知道如何检查缺少哪些 DLL 吗?
我是新来的,但我希望我能正确回答。要获得实际的错误代码,您需要将其更改为十六进制。你的是
C0000135
。据我所知,它与文件损坏有关,所以你说的 dll 丢失是对的。在较旧的视觉效果中,了解它的方式是通过命令行。
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
.
这是来自 Whosebug 中不同 post 的引用。
Error Code -1073741515 When Using EDITBIN
希望您能更轻松地解决这个问题。帮不上忙,因为我也不使用 VS Windows。祝你好运!
我刚刚下载了 Visual Studio 2017 社区。
一旦我尝试使用任何配置(release/debug、x86/x64、空 project/windows 控制台应用程序)编译任何程序(即使是最简单的 "Hello World"),我会收到以下错误:
Microsoft.CppCommon.targets(381,5): error MSB6006: error MSB6006: "CL.exe" exited with code -1073741515
(这个错误的意思是STATUS_DLL_NOT_FOUND
,我知道之前有人问过,但我不知道如何检查遗漏了哪些DLL)。
Microsoft.CppCommon.targets(381):
<CL Condition="'%(ClCompile.PrecompiledHeader)' != 'Create' and
'%(ClCompile.ExcludedFromBuild)'!='true' and
'%(ClCompile.CompilerIteration)' == '' and @(ClCompile) != ''"
您知道如何检查缺少哪些 DLL 吗?
我是新来的,但我希望我能正确回答。要获得实际的错误代码,您需要将其更改为十六进制。你的是
C0000135
。据我所知,它与文件损坏有关,所以你说的 dll 丢失是对的。在较旧的视觉效果中,了解它的方式是通过命令行。
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
.
这是来自 Whosebug 中不同 post 的引用。
Error Code -1073741515 When Using EDITBIN
希望您能更轻松地解决这个问题。帮不上忙,因为我也不使用 VS Windows。祝你好运!