Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMSBuild Project Files Pin
Member 1060570218-Feb-14 1:24
Member 1060570218-Feb-14 1:24 
If this is not the proper place for this question, please let me know where I can post it.

I am working on a bunch of MSBuild project files that were created from scratch. We are in the middle of upgrading to Visual Studios 2013 so a lot of the paths to libraries need to be changed. I am having trouble with the Microsoft Libraries because of the spaces that are in the path.

Here is the line that sets the base of the path to get appended later in the project file:

<CRT_LIB_PATH>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib</CRT_LIB_PATH>


Later there are lines similar to the following:

<LINK_LIBS>$(LINK_LIBS) '"$(CRT_LIB_PATH)\msvcrt$(DEBUG_SUFFIX).lib"'</LINK_LIBS>


In the second line, I have attempted single quotes, double quotes, single quotes surrounded by double quotes, double quotes surrounded by single quotes. Nothing had helped.

How to I properly put this path into the project file?

Thanks,
Kevin


What happens is everything before the "12.0" is lost and linker is not able to find the library.
AnswerRe: MSBuild Project Files Pin
Member 1060570218-Feb-14 2:11
Member 1060570218-Feb-14 2:11 
AnswerRe: MSBuild Project Files Pin
Richard MacCutchan18-Feb-14 2:54
mveRichard MacCutchan18-Feb-14 2:54 
GeneralRe: MSBuild Project Files Pin
Member 1060570218-Feb-14 2:58
Member 1060570218-Feb-14 2:58 
GeneralRe: MSBuild Project Files Pin
Albert Holguin18-Feb-14 16:47
professionalAlbert Holguin18-Feb-14 16:47 
GeneralRe: MSBuild Project Files Pin
Member 1060570219-Feb-14 1:09
Member 1060570219-Feb-14 1:09 
GeneralRe: MSBuild Project Files Pin
Albert Holguin19-Feb-14 3:51
professionalAlbert Holguin19-Feb-14 3:51 
QuestionHow to use DirectShow sample in my application? Pin
Vaclav_17-Feb-14 8:52
Vaclav_17-Feb-14 8:52 
AnswerRe: How to use DirectShow sample in my application? SOLVED? Pin
Vaclav_18-Feb-14 4:50
Vaclav_18-Feb-14 4:50 
QuestionWindows Driver - Mapping Windows API functions to Device Driver function. Pin
trinh.nguyen17-Feb-14 2:30
trinh.nguyen17-Feb-14 2:30 
AnswerRe: Windows Driver - Mapping Windows API functions to Device Driver function. Pin
Nicolas Dorier19-Feb-14 11:55
professionalNicolas Dorier19-Feb-14 11:55 
QuestionTFS on/in the cloud Pin
bkelly1316-Feb-14 15:49
bkelly1316-Feb-14 15:49 
AnswerRe: TFS on/in the cloud Pin
Richard MacCutchan16-Feb-14 22:29
mveRichard MacCutchan16-Feb-14 22:29 
GeneralRe: TFS on/in the cloud Pin
bkelly1317-Feb-14 6:44
bkelly1317-Feb-14 6:44 
Questioni/o registers that control cash drawer Pin
Member 1060107316-Feb-14 10:36
Member 1060107316-Feb-14 10:36 
AnswerRe: i/o registers that control cash drawer Pin
Richard Andrew x6416-Feb-14 11:14
professionalRichard Andrew x6416-Feb-14 11:14 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107316-Feb-14 11:31
Member 1060107316-Feb-14 11:31 
GeneralRe: i/o registers that control cash drawer Pin
Richard Andrew x6416-Feb-14 11:36
professionalRichard Andrew x6416-Feb-14 11:36 
AnswerRe: i/o registers that control cash drawer Pin
Richard MacCutchan16-Feb-14 22:28
mveRichard MacCutchan16-Feb-14 22:28 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107319-Feb-14 8:25
Member 1060107319-Feb-14 8:25 
GeneralRe: i/o registers that control cash drawer Pin
enhzflep19-Feb-14 18:17
enhzflep19-Feb-14 18:17 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107320-Feb-14 9:16
Member 1060107320-Feb-14 9:16 
GeneralRe: i/o registers that control cash drawer Pin
enhzflep20-Feb-14 16:40
enhzflep20-Feb-14 16:40 
GeneralRe: i/o registers that control cash drawer Pin
Member 1060107320-Feb-14 20:01
Member 1060107320-Feb-14 20:01 
GeneralRe: i/o registers that control cash drawer Pin
enhzflep20-Feb-14 20:17
enhzflep20-Feb-14 20:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.