none
how to set the $(TargetName)? RRS feed

  • Question

  • Greetings,

    I'd like to know how to set the $(TargetName) of my project to precise the output before building.

    thanks very much for helping.


    • Edited by Yuri.B Thursday, September 5, 2013 11:39 AM
    Thursday, September 5, 2013 11:35 AM

Answers

  • I'm not quite sure what you're asking but the value of the $(TargetName) property can be edited in Project Properties, Configuration Properties, General, Target Name.
    • Marked as answer by Yuri.B Thursday, September 5, 2013 2:16 PM
    Thursday, September 5, 2013 12:38 PM
    Moderator
  • $(TargetName) is by default set to $(ProjectName). You can change it via Project Properties->Configuration Properties->General->TargetName.

    Hope this is what you mean to ask.


    Blog: http://ntcoder.com/bab


    Posts are provided as is without warranties or guaranties.

    • Marked as answer by Yuri.B Thursday, September 5, 2013 2:16 PM
    Thursday, September 5, 2013 2:02 PM
    Moderator
  • The inf2cat docum lists some requirements to pass the signability test.

    -- pa

    Not a C++ question again

    • Marked as answer by Yuri.B Friday, September 13, 2013 3:30 PM
    Sunday, September 8, 2013 1:12 AM

All replies

  • I'm not quite sure what you're asking but the value of the $(TargetName) property can be edited in Project Properties, Configuration Properties, General, Target Name.
    • Marked as answer by Yuri.B Thursday, September 5, 2013 2:16 PM
    Thursday, September 5, 2013 12:38 PM
    Moderator
  • $(TargetName) is by default set to $(ProjectName). You can change it via Project Properties->Configuration Properties->General->TargetName.

    Hope this is what you mean to ask.


    Blog: http://ntcoder.com/bab


    Posts are provided as is without warranties or guaranties.

    • Marked as answer by Yuri.B Thursday, September 5, 2013 2:16 PM
    Thursday, September 5, 2013 2:02 PM
    Moderator
  • I'm not quite sure what you're asking but the value of the $(TargetName) property can be edited in Project Properties, Configuration Properties, General, Target Name.

    Not on VS2008 and earlier.

    David Wilkinson | Visual C++ MVP

    Thursday, September 5, 2013 2:14 PM
  • I'm getting an error after I did that: "error -2: "Inf2Cat, signability test failed."

    My project is a driver that contain both of main driver project and the driver package project,

    how to resolve that?

    Thursday, September 5, 2013 2:27 PM
  • The inf2cat docum lists some requirements to pass the signability test.

    -- pa

    Not a C++ question again

    • Marked as answer by Yuri.B Friday, September 13, 2013 3:30 PM
    Sunday, September 8, 2013 1:12 AM