Skip to content

Commit 7ae046a

Browse files
committed
Ensure Test Adapter Dependency DLLs are Copied to VSIX (#1257)
**Problem** Test adapter depends on newtonsoft.json and Microsoft.VisualStudio.Shell.Interop. These are not included on their own in our vsix. My previous fix just updated the vsix manifest and did not properly include these files **Fix** Add copy step to ensure we copy these files to the vsix.
1 parent b8f21f0 commit 7ae046a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Nodejs/Product/Nodejs/Nodejs.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,16 @@
730730
<IncludeInVSIX>true</IncludeInVSIX>
731731
<VSIXSubPath>.</VSIXSubPath>
732732
</Content>
733+
<Content Include="$(OutputPath)\Newtonsoft.Json.dll">
734+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
735+
<IncludeInVSIX>true</IncludeInVSIX>
736+
<VSIXSubPath>.</VSIXSubPath>
737+
</Content>
738+
<Content Include="$(OutputPath)\Microsoft.VisualStudio.Shell.Interop.dll">
739+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
740+
<IncludeInVSIX>true</IncludeInVSIX>
741+
<VSIXSubPath>.</VSIXSubPath>
742+
</Content>
733743
<Content Include="Credits.txt">
734744
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
735745
<IncludeInVSIX>true</IncludeInVSIX>

Nodejs/Product/Nodejs/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="%CurrentProject%" d:TargetPath="|%CurrentProject%;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
3030
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="%CurrentProject%" d:TargetPath="|%CurrentProject%;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" />
3131
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="File" Path="Newtonsoft.Json.dll" AssemblyName="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" />
32-
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="File" Path="Microsoft.VisualStudio.Shell.Interop.dll" AssemblyName="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
32+
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="File" Path="Microsoft.VisualStudio.Shell.Interop.dll" AssemblyName="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
3333
</Assets>
3434
</PackageManifest>

0 commit comments

Comments
 (0)