It would suilt me to be able to create a heirarchy of property sheets, is this possible? This would be more managable than having projects inherit from a number of property sheets.
=?Utf-8?B?c2FyYWg=?= wrote in news:2E45B7FE-55B5-4CBC-A336-FD249E295BFE@microsoft.com: > It would suilt me to be able to create a heirarchy of property sheets, > is this possible? This would be more managable than having projects > inherit from a number of property sheets. > Quite easily. I have a Common one, which both my release and debug ones use. Makes it really easy to keep settings in sync across many projects. I set up a more complex one at work - a have a separate vsprop for each 3rd party library we use. Dave Connet
Thanks Dave, that is exaclty what I would like to do. Would you mind telling me how to do this. All the XML examples of including another XML file on the net didnt work for me. "David Connet" wrote: > =?Utf-8?B?c2FyYWg=?= wrote in > news:2E45B7FE-55B5-4CBC-A336-FD249E295BFE@microsoft.com: > > > It would suilt me to be able to create a heirarchy of property sheets, > > is this possible? This would be more managable than having projects > > inherit from a number of property sheets. > > > > Quite easily. I have a Common one, which both my release and debug ones > use. Makes it really easy to keep settings in sync across many projects. I > set up a more complex one at work - a have a separate vsprop for each 3rd > party library we use. > > Dave Connet >
=?Utf-8?B?c2FyYWg=?= wrote in news:77D755A3-26DA-49A9-A8BA-CA44C579262A@microsoft.com: > Thanks Dave, that is exaclty what I would like to do. Would you mind > telling me how to do this. All the XML examples of including another > XML file on the net didnt work for me. Two ways. 1. Edit the vsprop file - right after the 'Name' attribute in the VisualStudioPropertySheet tag, add InheritedPropertySheets="$(SolutionDir)/Common.vsprops" (use your name/path..., I put all sheets in my solution directory since my projects are scattered in subdirectories) 2. In Visual Studio, go to the 'Property Manager'. There you can create new sheets, add existing ones and edit too. Some are not editable (like 'Static Link to MFC', 'Unicode Support', as these are brought in via project settings). When you edit an existing prop set, simply add the sheet you want to inherit from in the 'Inherited Project Property Sheets' field on the 'General' property. Dave
Many thanks! "David Connet" wrote: > =?Utf-8?B?c2FyYWg=?= wrote in > news:77D755A3-26DA-49A9-A8BA-CA44C579262A@microsoft.com: > > > Thanks Dave, that is exaclty what I would like to do. Would you mind > > telling me how to do this. All the XML examples of including another > > XML file on the net didnt work for me. > > Two ways. > > 1. Edit the vsprop file - right after the 'Name' attribute in the > VisualStudioPropertySheet tag, add > InheritedPropertySheets="$(SolutionDir)/Common.vsprops" (use your > name/path..., I put all sheets in my solution directory since my projects > are scattered in subdirectories) > > 2. In Visual Studio, go to the 'Property Manager'. There you can create new > sheets, add existing ones and edit too. Some are not editable (like 'Static > Link to MFC', 'Unicode Support', as these are brought in via project > settings). When you edit an existing prop set, simply add the sheet you > want to inherit from in the 'Inherited Project Property Sheets' field on > the 'General' property. > > Dave >