|
26 | 26 | </ItemGroup> |
27 | 27 |
|
28 | 28 | <PropertyGroup> |
| 29 | + <PlatformTarget>AnyCPU</PlatformTarget> |
29 | 30 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
30 | 31 | <!-- This prevents the default MsBuild targets from referencing System.Core.dll --> |
31 | 32 | <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences> |
|
48 | 49 |
|
49 | 50 | <!-- Platform specific properties --> |
50 | 51 | <PropertyGroup Condition="'$(Platform)' == 'x64'"> |
51 | | - <PlatformTarget>x64</PlatformTarget> |
52 | | - <Prefer32Bit>false</Prefer32Bit> |
53 | 52 | <DefineConstants>$(DefineConstants);TARGET_AMD64</DefineConstants> |
54 | 53 | </PropertyGroup> |
55 | 54 | <PropertyGroup Condition="'$(Platform)' == 'x86'"> |
56 | | - <PlatformTarget>x86</PlatformTarget> |
57 | 55 | <DefineConstants>$(DefineConstants);TARGET_X86</DefineConstants> |
58 | 56 | </PropertyGroup> |
59 | 57 | <PropertyGroup Condition="'$(Platform)' == 'armv6'"> |
60 | | - <PlatformTarget>arm</PlatformTarget> |
61 | 58 | <DefineConstants>$(DefineConstants);TARGET_ARMV6</DefineConstants> |
62 | 59 | </PropertyGroup> |
63 | 60 | <PropertyGroup Condition="'$(Platform)' == 'arm'"> |
64 | | - <PlatformTarget>arm</PlatformTarget> |
65 | 61 | <DefineConstants>$(DefineConstants);TARGET_ARM</DefineConstants> |
66 | 62 | </PropertyGroup> |
67 | 63 | <PropertyGroup Condition="'$(Platform)' == 'arm64'"> |
68 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
69 | 64 | <DefineConstants>$(DefineConstants);TARGET_ARM64</DefineConstants> |
70 | 65 | </PropertyGroup> |
71 | 66 | <PropertyGroup Condition="'$(Platform)' == 'riscv64'"> |
72 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
73 | 67 | <DefineConstants>$(DefineConstants);TARGET_RISCV64</DefineConstants> |
74 | 68 | </PropertyGroup> |
75 | 69 | <PropertyGroup Condition="'$(Platform)' == 's390x'"> |
76 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
77 | 70 | <DefineConstants>$(DefineConstants);TARGET_S390X</DefineConstants> |
78 | 71 | </PropertyGroup> |
79 | 72 | <PropertyGroup Condition="'$(Platform)' == 'wasm'"> |
80 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
81 | 73 | <DefineConstants>$(DefineConstants);TARGET_WASM</DefineConstants> |
82 | 74 | </PropertyGroup> |
83 | 75 | <PropertyGroup Condition="'$(Platform)' == 'ppc64le'"> |
84 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
85 | 76 | <DefineConstants>$(DefineConstants);TARGET_POWERPC64</DefineConstants> |
86 | 77 | </PropertyGroup> |
87 | 78 |
|
|
0 commit comments