views:

582

answers:

1

I'm using the CUDA .rules file which comes with the CUDA SDK for custom build steps in my project.
To save on property duplication I'd like to define the properties of the CUDA rule in a .vsprops file. For some reason, the CUDA rule branch of the properties tree does not show under any of my property sheets, only under the main configurations sheets.
I tried editing the .vsprops with a text edition and add the section by hand but there is no change it still does't show when in visual studio.
Is there a way to do this?

+2  A: 

Hi Shoosh,

Nancy answered the question here

"As far as I know, there is not element in XML schema for property sheets, for details, please see:

XML Schema Definition for Property Sheets

So I don't think you can add custom build rule to a Property Sheet. For your reference, in VS 2010, Custom build rule changes, in VS 2008 custom build rule is defined by a .rules file, Conversion will convert these .rules files into three separate files: .targets, .xml and .props, See Visual Studio 2010 C++ Project Upgrade Guide for more information."

Hope it helps others : )

SDReyes
Nice auto collect of a juicy bounty. Posting the response that Nancy posted to shoosh's own question (shoosh appears to be Shy Shalom on MSDN).
Bradley Mountford
@Bradley Thanks : ). hope it helps other people
SDReyes
@SDReyes Hmm...good response. At first i thought it was kind of cheesy but that info is useful to the community in general even if the OP already has the answer. +1
Bradley Mountford