Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
from the article How to Distribute C run-time (CRT) Libraries with Your Application, we need to deploy Microsoft.VCXX.CRT.manifest to local folder.

but I searched the folder for my Visual Studio 2017(enterprise), I can not find this manifest file. this file is supposed to be :Microsoft.VC141.CRT.manifest

could anyone share tips with me?

What I have tried:

I searched to this folder on my machine and can not find this file:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Redist\MSVC\14.10.25017\x86\Microsoft.VC150.MFC
Posted
Updated 29-Aug-20 11:52am
v2

1 solution

As mentioned in the article you shared:
Quote:
You can copy CRT DLL files and Microsoft.VCXX.CRT.manifest file to your application folder, where XX is the version number. This is called a private installation, because these CRT DLLs won't be shared with other applications. This way may also reduce the size of your installer, because CRT DLLs usually take less space than a redistributable package. You can take the correct CRT DLL files from vcredist subfolder of your Visual Studio folder or from the Visual C++ redistributable package (it is installed to C:\WINDOWS\WinSxS directory).


For manifest:
Don't think it's a separate file and will be generated. Whether as separate file or embedded depends on configuration: Manifest Generation in Visual Studio | Microsoft Docs[^]

BTW, I would go ahead with the C++ redistributeable option.
 
Share this answer
 
Comments
Southmountain 29-Aug-20 18:13pm    
so if I copy the two redistributable vcruntime140.dll and mfc140u.dll, then everything shall be good without this Microsoft.VCXX.CRT.manifest file explicitly?
Sandeep Mewara 29-Aug-20 18:14pm    
No. Install entire C++ redistributable. The other option as shared in the article you shared.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900