Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Thu, 17 Apr 2008 23:08:01 -0700,    group: microsoft.public.vstudio.development        back       


Is it possible to include a vsprops in another vsprops file?   
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.
date: Thu, 17 Apr 2008 23:08:01 -0700   author:   sarah

Re: Is it possible to include a vsprops in another vsprops file?   
=?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
date: Fri, 18 Apr 2008 14:29:58 GMT   author:   David Connet

Re: Is it possible to include a vsprops in another vsprops file?   
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
>
date: Fri, 18 Apr 2008 14:29:02 -0700   author:   sarah

Re: Is it possible to include a vsprops in another vsprops file?   
=?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
date: Sat, 19 Apr 2008 01:55:12 GMT   author:   David Connet

Re: Is it possible to include a vsprops in another vsprops file?   
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
>
date: Sat, 19 Apr 2008 15:15:00 -0700   author:   sarah

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us