Skip to content

Commit

Permalink
Merge pull request #74822 from dibarbet/fix_design_time_build
Browse files Browse the repository at this point in the history
Skip vsix crossgen targets when running design time build
  • Loading branch information
dibarbet authored Aug 20, 2024
2 parents 5e6bb7a + 6c4bea3 commit d1ddbc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<Error Text="Crossgen2 failed with exit code $(_Crossgen2ErrorCode)." Condition="'$(_Crossgen2ErrorCode)' != '0'" />
</Target>

<Target Name="PublishedProjectOutputGroup" DependsOnTargets="CalculateCrossgenInputs" Returns="@(_VsixItem)">
<Target Name="PublishedProjectOutputGroup" DependsOnTargets="CalculateCrossgenInputs" Returns="@(_VsixItem)" Condition="'$(DesignTimeBuild)' != 'true'">
<PropertyGroup>
<!--
For BCL, we want to use the version provided by the runtime in VS, not the ones from the NuGet packages.
Expand Down

0 comments on commit d1ddbc8

Please sign in to comment.