Skip to content

Commit 24e438f

Browse files
committed
Addressing PR issues
1 parent 3126fd6 commit 24e438f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
};

src/platform.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)