Skip to content

Commit

Permalink
Only copy devkit assemblies when doing a real build
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Aug 19, 2024
1 parent 0ec44d9 commit bb68d7f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@

<!--
Copy files contained in the NPM package to a DevKit subdirectory to emulate deployment of the DevKit extension in VS Code.
Only needs to be done when actually building the project, not during design-time builds.
-->
<Target Name="_CopyDevKitExtensionFiles" AfterTargets="ResolveProjectReferences">
<Target Name="_CopyDevKitExtensionFiles" AfterTargets="ResolveProjectReferences" Condition="'$(DesignTimeBuild)' != 'true'">
<MSBuild Projects="..\..\VisualStudio\DevKit\Impl\Microsoft.VisualStudio.LanguageServices.DevKit.csproj"
Targets="GetPackInputs">
<Output TaskParameter="TargetOutputs" ItemName="_DevKitExtensionFile"/>
Expand All @@ -38,3 +39,4 @@
</ItemGroup>
</Target>
</Project>

0 comments on commit bb68d7f

Please sign in to comment.