I am working with Visual Studio 2022. I have cloned a solution from a remote colleague, and while building that solution, I have a problem with the post-build event.
That post-build event looks as follows:
"$(TlbExpPath)\tlbexp"
/win32 $(ProjectDir)$(OutDir)$(TargetName).dll
/out:$(ProjectDir)..\<Dir>\$(TargetName).tlb
In order to make that work, I need the environment variable, called “TlbExpPath”, which seems to be equal to the directory “C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools”.
For your information: that directory is present on my PC.
The fact that my colleague has that environment variable while I don’t, means that he has installed some SDK, extension, plugin, …, while I don’t. My colleague has told me explicitly he did not create that environment variable manually.
What should I install in order to have that same environment variable set and why hasn’t it been set when putting those files on my PC?