Make sure Platform is TreatAsLocalProperty so it can be set properly.
This commit is contained in:
parent
35bfedb19b
commit
f0325a2a6a
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<!-- Platform needs to be set with TreatAsLocalProperty since it is a global property and cannot be overridden otherwise. -->
|
||||
<Project TreatAsLocalProperty="Platform">
|
||||
|
||||
<PropertyGroup>
|
||||
<BuildArchitecture Condition="'$(BuildArchitecture)' == ''">$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())</BuildArchitecture>
|
||||
|
|
Loading…
Reference in a new issue