Fix duplicate Content item error in csproj

Use Update instead of Include for config/idp-config.json to avoid
conflict with the SDK's default implicit Content item inclusion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marek Lesko
2026-03-22 11:37:37 +00:00
parent 4bbe881285
commit f10617f646
+1 -1
View File
@@ -11,7 +11,7 @@
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" /> <PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="config\idp-config.json"> <Content Update="config\idp-config.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
</ItemGroup> </ItemGroup>