Click here to Skip to main content
11,495,945 members (59,083 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Visual-Studio VS2010 .NET4 , +
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 19-Sep-12 12:25pm
VSowmya171
Edited 19-Sep-12 12:32pm
v2
Comments
Wes Aday at 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)

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 CHill60 318
2 Sascha Lefèvre 235
3 RyanDev 230
4 _Asif_ 155
0 Sergey Alexandrovich Kryukov 10,372
1 OriginalGriff 8,871
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 19 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100