问题描述
我已经在Visual Studio 2017中制作了加密应用.在已安装VS2017的环境中很好,但该应用程序不可移植.
I have made a encryption application in visual studio 2017.
work fine in a environnement with VS2017 already installed but the application is not portable.
在未安装VS版本的环境中,显示错误.
In a environnement where not version of VS is installed a error show up.
我不想每次都下载Visual Studio来修复此错误,有没有办法防止它发生?
I don't want to download everytime Visual Studio for fixing this error, is there a way to prevente it ?
有关该应用程序的更多信息:
More information about the application :
- 在VS2017中编译
- 在Windows 10 x64上制成
- 使用小文件对话
推荐答案
您应该分发依赖于VS 2017可再发行组件包的可执行文件的发行版本,而不是依赖于调试运行时库的调试版本(请注意该文件中的D
后缀库名称.)
You should distribute release version of executable that will depend upon VS 2017 redistributable package rather than debug version that depend on debug runtime libraries (notice the D
suffix in library name).
这篇关于MSVCP140D.dll丢失,是否可以解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!