Skip to content

Commit 6099eb5

Browse files
authored
Set AnyCPU platform explicitly (microsoft#40582)
1 parent a8ff310 commit 6099eb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/windows/WslcSDK/csharp/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ set_target_properties(
2222
wslcsdkcs PROPERTIES
2323
FOLDER windows
2424
LINKER_LANGUAGE CSharp
25+
VS_GLOBAL_Platform "AnyCPU"
26+
VS_GLOBAL_Platforms "AnyCPU"
27+
VS_GLOBAL_PlatformTarget "AnyCPU"
2528
VS_PACKAGE_REFERENCES "Microsoft.Windows.CsWinRT_${CSWINRT_VERSION}"
2629
VS_GLOBAL_CsWinRTIncludes "Microsoft.WSL.Containers"
2730
)

0 commit comments

Comments
 (0)