microsoft / microsoft/vscode-cpptools

Managed C++ (CLI/CX) support doesn't work on arm64 Windows

オープン
#8,191 コメント 6 件 リアクション 0 件 担当者 1 名 GitHub で見る

@sean-mcmanus がすでに取り組んでいます。

2024年4月30日 から。

bug C++/CLI Language Service postponed
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

The repro is to add the /ZW compiler arg, to a cl.exe configuration, with the arm64 Windows build.

The issue appears to be that we're looking for vcmeta.dll in either a x64 or x86 path, and this was not updated for arm64.

A related issue is that the user may not have installed build tools for all architectures. The code that looks for vcmeta.dll assume the built tools for the current platform's target architecture is available, but they may not be. If we're not able to find vcmeta.dll, we should display an error message instead of silently failing to set this up.

Also, it looks like an x86 lib output path is used to find platform.winmd. If the user hasn't installed x86 tools, this may not be available either.

Also, it looks like vcmeta.dll is needed for tag parsing. It looks like we copy vcmeta.dll into the Extensions bin directory for that (in a CMakeFiles.txt), but are not yet doing so for arm64 builds of the extension.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。