Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am using $(ToolPath)tlbimp.exe in the pre-build event for VC# 4.0 project.
I get this build error -
"D:\Microsoft Visual Studio 10.0\Common7\IDE\tlbimp.exe"' is not recognized as an internal or external command, operable program or batch file.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(902,9): error MSB3073: The command ....." exited with code 9009.
..."

I found tlbimp.exe under C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin directory
It looks like $(ToolPath) property is pointing to wrong path.
Running vcvars32 or vsvars32.bat did not help.
What is the correct way to set it?

Thanks in advance!
Posted
Updated 19-Sep-12 11:32am
v2
Comments
[no name] 19-Sep-12 17:50pm    
Try $(WindowsSdkDir)

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