Skip to content

Commit

Permalink
Merge pull request #74486 from Cosifne/dev/shech/FixXamlBuild
Browse files Browse the repository at this point in the history
Include PrepareResources before ExtensionJsonOutputGroup
  • Loading branch information
Cosifne authored Jul 23, 2024
2 parents c8e88e5 + c2758e0 commit 6c7ee8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions eng/targets/VisualStudio.targets
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,7 @@
</Target>

<Import Project="GeneratePkgDef.targets" Condition="'$(MSBuildRuntimeType)' != 'Core' and '$(GeneratePkgDefFile)' == 'true' and '$(DesignTimeBuild)' != 'true' and '$(BuildingForLiveUnitTesting)' != 'true'" />

<!-- Workaround to fix https://github.com/dotnet/msbuild/issues/10306 -->
<Target Name="ExtensionJsonOutputGroupFixed" Returns="@(ExtensionJsonOutputGroupOutput)" DependsOnTargets="PrepareResources;ExtensionJsonOutputGroup" />
</Project>
2 changes: 1 addition & 1 deletion src/VisualStudio/Setup/Roslyn.VisualStudio.Setup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
</ProjectReference>
<ProjectReference Include="..\CSharp\Impl\Microsoft.VisualStudio.LanguageServices.CSharp.csproj">
<Name>CSharpVisualStudio</Name>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;PkgDefProjectOutputGroup;ContentFilesProjectOutputGroup;SatelliteDllsProjectOutputGroup;ExtensionJsonOutputGroup</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;PkgDefProjectOutputGroup;ContentFilesProjectOutputGroup;SatelliteDllsProjectOutputGroup;ExtensionJsonOutputGroupFixed</IncludeOutputGroupsInVSIX>
<ForceIncludeInVSIX>true</ForceIncludeInVSIX>
<PkgDefEntry>BindingRedirect</PkgDefEntry>
</ProjectReference>
Expand Down

0 comments on commit 6c7ee8b

Please sign in to comment.