-
Notifications
You must be signed in to change notification settings - Fork 38
XS✔ ◾ Switching Platform to AnyCPU #735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
1d9e58c
29140e0
4fac25c
6e20041
1406bd1
b34bc73
f61c857
c03b2b7
b0d2c83
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,7 @@ | |
| [Dd]ebugPublic/ | ||
| [Rr]elease/ | ||
| [Rr]eleases/ | ||
| AnyCPU/ | ||
| x64/ | ||
| x86/ | ||
| bld/ | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(NetCoreVersions)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(NetCoreVersions)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(NetCoreVersions)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(NetCoreVersions)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(NetCoreVersions)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(NetCoreVersions)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk.Web"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |||||
|
|
||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||||
| <PropertyGroup> | ||||||
| <TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks> | ||||||
| <PlatformTarget>x64</PlatformTarget> | ||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | ||||||
|
||||||
| <PlatformTargets>$(Platforms)</PlatformTargets> | |
| <PlatformTarget>$(Platforms)</PlatformTarget> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<PlatformTargets>(plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is<PlatformTarget>(singular). The fix should use<PlatformTarget>AnyCPU</PlatformTarget>or<PlatformTarget>$(Platforms)</PlatformTarget>.