ChakraCore
ChakraCore copied to clipboard
ChakraCore failed to build "error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC." with MSVC on Windows arm64ec
ChakraCore failed to build "error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC." with MSVC on Windows arm64ec. It can reproduce on latest version on master branch. Could you please help look at this issue?
Repro steps:
- set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=arm64
- git clone https://github.com/chakra-core/ChakraCore F:\aa\ChakraCore
- cd ChakraCore
- Change "ARM64" to "ARM64EC" in Chakra.Backend.vcxproj Chakra.Common.Memory.vcxproj Chakra.Runtime.Language.vcxproj Chakra.Runtime.Library.vcxproj Chakra.Core.sln
- msbuild /m /p:Platform=ARM64EC /p:Configuration=Release /p:WindowsTargetPlatformVersion=10.0.22618.0 Build\Chakra.Core.sln /t:Rebuild
Error info:
21>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC. [F:\aa\ChakraCore\manifests\CoreManifests.vcxproj]
21>Done Building Project "F:\aa\ChakraCore\manifests\CoreManifests.vcxproj" (Rebuild target(s)) -- FAILED.
2>Project "F:\aa\ChakraCore\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "F:\aa\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj" (23) on node 2 (Rebuild target(s)).
23>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC. [F:\aa\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj]
23>Done Building Project "F:\aa\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj" (Rebuild target(s)) -- FAILED.
2>Project "F:\aa\ChakraCore\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "F:\aa\ChakraCore\lib\wabt\wabt.vcxproj" (22) on node 7 (Rebuild target(s)).
22>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC. [F:\aa\ChakraCore\lib\wabt\wabt.vcxproj]
22>Done Building Project "F:\aa\ChakraCore\lib\wabt\wabt.vcxproj" (Rebuild target(s)) -- FAILED.
2>Project "F:\aa\ChakraCore\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "F:\aa\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj" (24) on node 6 (Rebuild target(s)).
24>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC. [F:\aa\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj]
24>Done Building Project "F:\aa\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj" (Rebuild target(s)) -- FAILED.
2>Project "F:\aa\ChakraCore\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "F:\aa\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj" (25) on node 4 (Rebuild target(s)).
25>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC. [F:\aa\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj]
25>Done Building Project "F:\aa\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj" (Rebuild target(s)) -- FAILED.
1>Project "F:\aa\ChakraCore\Build\Chakra.Core.sln" (1) is building "F:\aa\ChakraCore\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (13) on node 1 (Rebuild target(s)).
13>Project "F:\aa\ChakraCore\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (13) is building "F:\aa\ChakraCore\lib\JITIDL\Chakra.JITIDL.vcxproj" (27) on node 8 (Rebuild target(s)).
27>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|ARM64EC. [F:\aa\ChakraCore\lib\JITIDL\Chakra.JITIDL.vcxproj]
Error log: ChakraCore_msbuild_error.log
Thank you for the report, though I am not sure we have a platform to test it on though.