Platform='ARM64' build failed. #705

Closed
opened 2026-01-30 22:00:10 +00:00 by claunia · 10 comments
Owner

Originally created by @CanoeFZH on GitHub (May 7, 2019).

Build FAILED.

"D:\Terminal\OpenConsole.sln" (default target) (1) ->
"D:\Terminal\src\host\exe\Host.EXE.vcxproj.metaproj" (default target) (2) ->
"D:\Terminal\src\buffer\out\lib\bufferout.vcxproj" (default target) (3) ->
(InvalidPlatformError target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.InvalidPlatform.Targets(22,7): error MSB8007: The Platform for project 'bufferout.vcxproj' is invalid. Platform='ARM64'. You may be
seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [D:\Terminal\src\buffer\out\lib\bufferout.vcxproj]

Originally created by @CanoeFZH on GitHub (May 7, 2019). Build FAILED. "D:\Terminal\OpenConsole.sln" (default target) (1) -> "D:\Terminal\src\host\exe\Host.EXE.vcxproj.metaproj" (default target) (2) -> "D:\Terminal\src\buffer\out\lib\bufferout.vcxproj" (default target) (3) -> (InvalidPlatformError target) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.InvalidPlatform.Targets(22,7): error MSB8007: The Platform for project 'bufferout.vcxproj' is invalid. Platform='ARM64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [D:\Terminal\src\buffer\out\lib\bufferout.vcxproj]
claunia added the Resolution-Answered label 2026-01-30 22:00:10 +00:00
Author
Owner

@aar0nz commented on GitHub (May 7, 2019):

This works for me:
msbuild openconsole.sln /p:Platform=x64

@aar0nz commented on GitHub (May 7, 2019): This works for me: msbuild openconsole.sln /p:Platform=x64
Author
Owner

@CanoeFZH commented on GitHub (May 7, 2019):

This works for me:
msbuild openconsole.sln /p:Platform=x64

Great! It works:)

@CanoeFZH commented on GitHub (May 7, 2019): > This works for me: > msbuild openconsole.sln /p:Platform=x64 Great! It works:)
Author
Owner

@csy19960309 commented on GitHub (May 7, 2019):

This works for me:
msbuild openconsole.sln /p:Platform=x64

nice work

@csy19960309 commented on GitHub (May 7, 2019): > This works for me: > msbuild openconsole.sln /p:Platform=x64 nice work
Author
Owner

@audac1ty commented on GitHub (May 7, 2019):

Compiling for me now, would it be worth documenting this to make building a little easier?

@audac1ty commented on GitHub (May 7, 2019): Compiling for me now, would it be worth documenting this to make building a little easier?
Author
Owner

@aar0nz commented on GitHub (May 7, 2019):

https://github.com/microsoft/Terminal/tree/master/tools

I'm building it with the bcz tools now, please check the README file in /tools

@aar0nz commented on GitHub (May 7, 2019): [https://github.com/microsoft/Terminal/tree/master/tools](url) I'm building it with the bcz tools now, please check the README file in /tools
Author
Owner

@bleedingpixels commented on GitHub (May 7, 2019):

not sure why arm64 is the default

@bleedingpixels commented on GitHub (May 7, 2019): not sure why arm64 is the default
Author
Owner

@bef178 commented on GitHub (May 7, 2019):

not sure why arm64 is the default

It is Visual Studio. The default platform is selected by alphabet order. Add an .suo will fix that. However, .suo file should not be committed into repo.

@bef178 commented on GitHub (May 7, 2019): > not sure why arm64 is the default It is Visual Studio. The default platform is selected by alphabet order. Add an .suo will fix that. However, .suo file should not be committed into repo.
Author
Owner

@dwjorgeb commented on GitHub (May 7, 2019):

I'm having this error now:

The OutputPath property is not set for project 'TerminalConnection.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [(...)\Terminal\src\cascadia\Termi
nalConnection\TerminalConnection.vcxproj]

@dwjorgeb commented on GitHub (May 7, 2019): I'm having this error now: The OutputPath property is not set for project 'TerminalConnection.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [(...)\Terminal\src\cascadia\Termi nalConnection\TerminalConnection.vcxproj]
Author
Owner

@zadjii-msft commented on GitHub (May 7, 2019):

@dwjorgeb I'd refer you to #489 for issues building.

Since this thread is about building for ARM64, and that's been answered, I'm going to close this issue

@zadjii-msft commented on GitHub (May 7, 2019): @dwjorgeb I'd refer you to #489 for issues building. Since this thread is about building for ARM64, and that's been answered, I'm going to close this issue
Author
Owner

@NetherGranite commented on GitHub (Jun 10, 2019):

This works for me:
msbuild openconsole.sln /p:Platform=x64

How did you actually run it once you built it?

@NetherGranite commented on GitHub (Jun 10, 2019): > This works for me: > msbuild openconsole.sln /p:Platform=x64 How did you actually run it once you built it?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#705