Click here to Skip to main content
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 Afzaal Ahmad Zeeshan 256
1 OriginalGriff 251
2 BillWoodruff 240
3 Maciej Los 230
4 Sergey Alexandrovich Kryukov 195
0 OriginalGriff 6,419
1 Sergey Alexandrovich Kryukov 6,008
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,070


Advertise | Privacy | Mobile
Web04 | 2.8.1411019.1 | Last Updated 19 Sep 2012
Copyright © CodeProject, 1999-2014
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