Re: [SUSPICIOUS MESSAGE] Re: build.exe to msbuild.exe migration advice

Agreed

On Tue, Jun 26, 2018, 8:14 PM xxxxx@gmail.com
wrote:

> Which is why on code review you look at any .vcxproj change with utmost
> suspicion.
>
> I try to contain customizations in import files rather than putting them
> into the .vcxproj file directly as that limits what the damn gui can wreck.
>
> Mark Roddy
>
>
> On Mon, Jun 25, 2018 at 1:12 PM xxxxx@microsoft.com <
> xxxxx@lists.osr.com> wrote:
>
>> One thing to consider about the VS way is that when you make changes in
>> the GUI, the vcxproj will always be rewritten in the VS pattern, regardless
>> of what you had before for conditionals. Might not be a wholesale file
>> rewrite, but probably the section you worked on by hand :slight_smile:
>>
>> f
>>
>> Bent from my phone
>>
>> ------------------------------
>> From: 30511622200n behalf of
>> Sent: Monday, June 25, 2018 9:12 AM
>> To: Windows System Software Devs Interest List
>> Subject: Re: [ntdev] build.exe to msbuild.exe migration advice
>>
>> On Mon, Jun 25, 2018 at 9:36 AM, Scott Noone
>> wrote:
>> >


>> >
>> > There might be a fancier way to do this, but I’ve used the
>> ExcludedFromBuild
>> > property (there’s a GUI option also). For example, 64-bit ASM file that
>> I
>> > don’t want in the 32-bit build:
>> >
>> >
>> >
>> > >> > Condition=“‘$(Platform)’==‘Win32’”>true
>> >
>> >
>> >
>>
>> This is probably the fancier way. What VS does is create larger groups
>> based on the architecture and bitness tuple. E.g. if you select x86
>> and ARM you will get 4 groupings, for x86, x86_64, ARM, and ARM64.
>>
>> The VS method may be easier to maintain - I could see someone coming
>> into a project and missing a single line like that. It might be a good
>> idea to call attention to it in source or documentation.
>>
>> Cheers,
>> R0b0t1
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> Visit the list online at: <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.com%2Fshowlists.cfm%3Flist%3Dntdev&amp;data=02|01|Doron.Holan%40microsoft.com|eeef22269b6d44c3b68908d5dab662ba|72f988bf86f141af91ab2d7cd011db47|1|0|636655399232663135&amp;sdata=88TDebiuBAXEW61AIR3jtt%2F1o6abuwOIQtuHSwI%2FOFA%3D&amp;reserved=0&gt;
>>
>>
>> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
>> software drivers!
>> Details at <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fseminars&amp;data=02|01|Doron.Holan%40microsoft.com|eeef22269b6d44c3b68908d5dab662ba|72f988bf86f141af91ab2d7cd011db47|1|0|636655399232663135&amp;sdata=PUcVLjNZ3cLn12TM4gatpJ6PKmOLKb09gkz8fHAiYfk%3D&amp;reserved=0&gt;
>>
>>
>> To unsubscribe, visit the List Server section of OSR Online at <
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.com%2Fpage.cfm%3Fname%3DListServer&amp;data=02|01|Doron.Holan%40microsoft.com|eeef22269b6d44c3b68908d5dab662ba|72f988bf86f141af91ab2d7cd011db47|1|0|636655399232663135&amp;sdata=h14c9EHSJ2OlEVlKfD8xJq0Xl7Zhd9NocqUIezLYSWQ%3D&amp;reserved=0&gt;
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> Visit the list online at: <
>> http://www.osronline.com/showlists.cfm?list=ntdev&gt;
>>
>> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
>> software drivers!
>> Details at http:
>>
>> To unsubscribe, visit the List Server section of OSR Online at <
>> http://www.osronline.com/page.cfm?name=ListServer&gt;
>>
> — NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars
> on crash dump analysis, WDF, Windows internals and software drivers!
> Details at To unsubscribe, visit the List Server section of OSR Online at</http:>