[wix-users] Directory.Build.props and Directory.Build.targets

Edwin Castro egcastr at gmail.com
Sat Sep 22 07:27:11 PDT 2018


I don't use Visual Studio 2015 yet so I hadn't seen this behavior
previously. The Microsoft.Common.props and Microsoft.Common.targets files
are .Net Framework artifacts. I wonder which .Net Framework version
introduced this feature?

Also, the doc suggests that outer props override inner props since inner
props get imported first and outer props only get imported if the inner
props continues the search. I assume people that already use this feature
understand this and know how to deal with it.

--
Edwin G. Castro


On Sat, Sep 22, 2018, 07:15 Edwin Castro <egcastr at gmail.com> wrote:

> This sounds very interesting. I think WiX doesn't import
> Microsoft.Common.props or Microsoft.Common.targets which explains why we
> don't get this behavior automatically. I think it would be fairly easy to
> add this to WiX without adding a dependency to Microsoft.Common.props or
> Microsoft.Common.targets. I'll try it out and discuss contributing this
> back to WiX.
>
> --
> Edwin G. Castro
>
>
> On Sat, Sep 22, 2018, 02:14 Osterlund, Magnus via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
>> We have placed a Directory.Build.props and Directory.Build.targets to the
>> root directory of our solution. The content in these files are imported in
>> all our projects, but not in the . wixproj project.
>> Is it possible to add default support for this expansion point for wix
>> projects?
>>
>> Reference:
>> https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build#directorybuildprops-and-directorybuildtargets
>>
>>
>> ________________________________
>>
>> Capgemini is a trading name used by the Capgemini Group of companies
>> which includes Capgemini Sverige AB, a company registered in Sweden (number
>> 556092-3053) whose registered office is at Gustavslundsv?gen 131 Box 825 ?
>> S-161 24 Bromma.
>> This message contains information that may be privileged or confidential
>> and is the property of the Capgemini Group. It is intended only for the
>> person to whom it is addressed. If you are not the intended recipient, you
>> are not authorized to read, print, retain, copy, disseminate, distribute,
>> or use this message or any part thereof. If you receive this message in
>> error, please notify the sender immediately and delete all copies of this
>> message.
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>


More information about the wix-users mailing list