You probably need to install the Desktop Development with C++ workload -
How should I install lib.exe in Visual Studio?
I've installed Visual studio 2019 but I can't execute command 'lib' in Visual Studio Command Prompt (It says 'lib' is not recognizable). so I think lib.exe is not installed.
I looked up official document for lib.exe but they say nothing about how to install lib.exe.
https://learn.microsoft.com/en-us/cpp/build/reference/overview-of-lib?view=msvc-160
What should I do to install lib.exe?
Developer technologies Visual Studio Other
2 answers
Sort by: Most helpful
-
RLWA32 49,536 Reputation points
2021-07-29T11:25:49.363+00:00 -
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
2021-07-30T06:31:47.753+00:00 Hello @VIP ,
Welcome to Microsoft Q&A forum.
You can check if the
lib.exe
is located under this path:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.XX.XXXXXXX\bin\Hostx64\x64\lib.exe
.Best Regards,
Tianyu- If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
- If the answer is helpful, please click "Accept Answer" and upvote it.