You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1data-loc-id="incompatible.extension.heading">Incompatible or Mismatched C/C++ Extension Binaries</h1>
2
+
3
+
<pdata-loc-id="incompat.extension.text1">The C/C++ extension includes native binaries.</p>
4
+
5
+
<pdata-loc-id="incompat.extension.text2">When installed via the marketplace UI in VS Code, the correct native binaries should be included. If incompatible binaries were detected and the C/C++ extension had been installed via the marketplace UI in VS Code, <ahref="https://github.com/microsoft/vscode/issues/new?assignees=&labels=&template=bug_report.md"data-loc-id="bug.report.link.title">please report the issue</a>.</p>
6
+
7
+
<h1data-loc-id="reinstalling.extension.heading">Reinstalling the C/C++ Extension</h1>
8
+
9
+
<pdata-loc-id="reinstall.extension.text1">When reinstalling an equivalent version of an extension, VS Code may reuse the existing extension directory. To prevent this from occurring when reinstalling the C/C++ extension, it may be necessary to first delete the existing extension directory.</p>
10
+
11
+
<pdata-loc-id="reinstall.extension.text2">Installed extension directories can be found under one of the following paths under your user directory (`%USERPROFILE%` on Windows, or `$HOME` on Linux and macOS)</p>
<pdata-loc-id="reinstall.extension.text7">Then reinstall via the marketplace UI in VS Code.</p>
31
+
32
+
<pdata-loc-id="reinstall.extension.text8">If the correct version of the extension fails to be deployed by VS Code, the correct VSIX for your system can be <ahref="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools"data-loc-id="download.vsix.link.title">downloaded from the VS Code marketplace web site</a> and installed using the `Install from VSIX...` option under the '...' menu in the marketplace UI in VS Code.</p>
vscode.window.showErrorMessage(localize("vsix.platform.incompatible","The target platform {0} specifed in the C/C++ Extension VSIX is not compatible with your system.",vsixTargetPlatform));
228
+
promise=vscode.window.showErrorMessage(localize("vsix.platform.incompatible","The C/C++ extension installed does not match your system.",vsixTargetPlatform),moreInfoButton);
223
229
}elseif(!isPlatformMatching){
224
-
vscode.window.showWarningMessage(localize("vsix.platform.mismatching","The target platform {0} specifed in the C/C++ Extension VSIX does not match VS Code.",vsixTargetPlatform));
230
+
if(!ignoreMismatchedCompatibleVsix.Value){
231
+
resetIgnoreMismatchedCompatibleVsix=false;
232
+
promise=vscode.window.showWarningMessage(localize("vsix.platform.mismatching","The C/C++ extension installed is compatible with but does not match your system.",vsixTargetPlatform),moreInfoButton,ignoreButton);
233
+
}
234
+
}
235
+
if(promise){
236
+
promise.then(async(value)=>{
237
+
if(value===moreInfoButton){
238
+
awaitvscode.commands.executeCommand("markdown.showPreview",vscode.Uri.file(util.getLocalizedHtmlPath("Reinstalling the Extension.md")));
239
+
}elseif(value===ignoreButton){
240
+
ignoreMismatchedCompatibleVsix.Value=true;
241
+
}
242
+
});
225
243
}
226
244
}else{
227
245
console.log("Unable to find TargetPlatform in .vsixmanifest");
0 commit comments