microsoft / microsoft/vscode-cpptools

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

Aperta
#8,191 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@sean-mcmanus ci sta già lavorando.

Dal 30/4/2024.

bug C++/CLI Language Service postponed
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.