Set AnyCPU platform explicitly (#40582)
Flor Chacón committed
May 19, 2026 at 08:36 UTC
6099eb5f80e3ec83cdf1188a80fff02849412e5e
1 file changed
+3
src/windows/WslcSDK/csharp/CMakeLists.txt
+3
@@ -22,6 +22,9 @@ set_target_properties(
22
wslcsdkcs PROPERTIES
23
FOLDER windows
24
LINKER_LANGUAGE CSharp
25
+ VS_GLOBAL_Platform "AnyCPU"
26
+ VS_GLOBAL_Platforms "AnyCPU"
27
+ VS_GLOBAL_PlatformTarget "AnyCPU"
28
VS_PACKAGE_REFERENCES "Microsoft.Windows.CsWinRT_${CSWINRT_VERSION}"
29
VS_GLOBAL_CsWinRTIncludes "Microsoft.WSL.Containers"
30
)