Skip to content

Commit d5a3f5d

Browse files
authored
fix(vsix): include VCProjectEngine assembly in VSIX package (#33)
VSSDK.BuildTools has a hardcoded SuppressFromVsix list that excludes Microsoft.VisualStudio.VCProjectEngine.dll, assuming VS always provides it. This causes a missing assembly error when the C++ workload is not installed. Adding ForceIncludeInVSIX overrides the suppression. Fixes #32
1 parent 60fd968 commit d5a3f5d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/CodingWithCalvin.OpenBinFolder/CodingWithCalvin.OpenBinFolder.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<PackageReference Include="CodingWithCalvin.Otel4Vsix" Version="0.2.2" />
1313
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.14.40265" />
1414
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.*" PrivateAssets="all" />
15-
<PackageReference Include="Microsoft.VisualStudio.VCProjectEngine" Version="17.14.40264" />
15+
<PackageReference Include="Microsoft.VisualStudio.VCProjectEngine" Version="17.14.40264">
16+
<ForceIncludeInVSIX>true</ForceIncludeInVSIX>
17+
</PackageReference>
1618
</ItemGroup>
1719

1820
<ItemGroup>

0 commit comments

Comments
 (0)