Setting Include and Lib directories for C++ VStudio build


I am just started using TeamCity and I am stuck on setting Include and Lib paths for my C++ project to build correctly under TeamCity.

In VStudio (Tools->Options->Projects and Solutions->VC++ Directories) I specify that "C:\Program Files\Microsoft SDKs\Windows\v6.1\Include" is the first option in the "Include files". Also, "C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib" is the first option in my "Library Files".

How do I enforce the same in my TeamCity build configuration? I have created env.INCLUDE in my build configuration but not sure if this is what I have to do... Anyway, it is not working as new defintions only avaiablble in v6.1 are not being found.


1 comment
Comment actions Permalink

Sorry for the delay. The question is still relevant? If yes please leave a comment or create a separate thread.

Kind regards,


Please sign in to leave a comment.