File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<CSharp
123123
124124 if ( ! isSupportedPlatform ( platformInfo ) ) {
125125 const platform : string = platformInfo . platform ? platformInfo . platform : "this platform" ;
126- const architecture : string = platformInfo . architecture ? platformInfo . architecture : " and architecture" ;
126+ const architecture : string = platformInfo . architecture ? platformInfo . architecture : " and <unknown processor architecture> " ;
127127 let errorMessage : string = `The C# extension for Visual Studio Code (powered by OmniSharp) is incompatiable on ${ platform } ${ architecture } ` ;
128128 const messageOptions : vscode . MessageOptions = {
129129 } ;
Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ export class PlatformInformation {
191191 if ( process . env . PROCESSOR_ARCHITECTURE === 'x86' && process . env . PROCESSOR_ARCHITEW6432 === undefined ) {
192192 resolve ( 'x86' ) ;
193193 }
194+ else if ( process . env . PROCESSOR_ARCHITECTURE === 'ARM64' && process . env . PROCESSOR_ARCHITEW6432 === undefined ) {
195+ resolve ( 'ARM64' ) ;
196+ }
194197 else {
195198 resolve ( 'x86_64' ) ;
196199 }
You can’t perform that action at this time.
0 commit comments