Skip to content

Commit 13e50dd

Browse files
authored
Merge branch 'main' into dev/bemcmorr/copilot-api-change
2 parents 1fb788c + b70f156 commit 13e50dd

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

Build/signing/SignVsix.proj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="SignFiles" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="packages\Microsoft.VisualStudioEng.MicroBuild.Core.0.4.1\build\Microsoft.VisualStudioEng.MicroBuild.Core.props" />
4+
5+
<PropertyGroup>
6+
<BaseOutputDirectory>$(BUILD_STAGINGDIRECTORY)</BaseOutputDirectory>
7+
<!-- These properties are required by MicroBuild, which only signs files that are under these paths -->
8+
<IntermediateOutputPath>$(BaseOutputDirectory)</IntermediateOutputPath>
9+
<OutDir>$(BaseOutputDirectory)</OutDir>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<FilesToSign Include="$(OutDir)\vsix\cpptools-*.signature.p7s">
14+
<Authenticode>VSCodePublisher</Authenticode>
15+
</FilesToSign>
16+
</ItemGroup>
17+
18+
<Import Project="packages\Microsoft.VisualStudioEng.MicroBuild.Core.0.4.1\build\Microsoft.VisualStudioEng.MicroBuild.Core.targets" />
19+
</Project>

Extension/src/LanguageServer/configurations.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ export class CppProperties {
594594
configuration.intelliSenseMode === "${default}") {
595595
return "";
596596
}
597-
const resolvedCompilerPath: string = this.resolvePath(configuration.compilerPath);
597+
const resolvedCompilerPath: string = this.resolvePath(configuration.compilerPath, false, false);
598598
const settings: CppSettings = new CppSettings(this.rootUri);
599599
const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(!!settings.legacyCompilerArgsBehavior, resolvedCompilerPath);
600600

@@ -1877,8 +1877,7 @@ export class CppProperties {
18771877
// Check for path-related squiggles.
18781878
const paths: string[] = [];
18791879
let compilerPath: string | undefined;
1880-
for (const pathArray of [currentConfiguration.browse ? currentConfiguration.browse.path : undefined,
1881-
currentConfiguration.includePath, currentConfiguration.macFrameworkPath]) {
1880+
for (const pathArray of [currentConfiguration.browse ? currentConfiguration.browse.path : undefined, currentConfiguration.includePath, currentConfiguration.macFrameworkPath]) {
18821881
if (pathArray) {
18831882
for (const curPath of pathArray) {
18841883
paths.push(`${curPath}`);

0 commit comments

Comments
 (0)