Skip to content

Commit

Permalink
Fixed transitive compile items.
Browse files Browse the repository at this point in the history
  • Loading branch information
prochnowc committed Jan 11, 2024
1 parent 7a0cbbb commit 068e027
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\build\AppCoreNet.Attributes.Sources.props" />


<!--
Source assets are not added to the compile items for transitive dependencies,
so they need to be added manually.
-->
<ItemGroup>
<Compile
Remove="$(MSBuildThisFileDirectory)..\contentFiles\cs\any\AppCoreNet.Attributes\**\*.cs"
LinkBase="AppCoreNet.Attributes"
Visible="false" />
<Compile
Include="$(MSBuildThisFileDirectory)..\contentFiles\cs\any\AppCoreNet.Attributes\**\*.cs"
Exclude="@(Compile)"
LinkBase="AppCoreNet.Attributes"
Visible="false" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\build\AppCoreNet.Attributes.Sources.targets" />

<!--
Source assets are not added to the compile items for transitive dependencies,
so they need to be added manually.
-->
<ItemGroup>
<Compile
Include="$(MSBuildThisFileDirectory)..\contentFiles\cs\any\AppCoreNet.Attributes\**\*.cs"
Exclude="@(Compile)"
LinkBase="AppCoreNet.Attributes"
Visible="false" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\build\AppCoreNet.Diagnostics.Sources.props" />

<!--
Source assets are not added to the compile items for transitive dependencies,
so they need to be added manually.
-->
<ItemGroup>
<Compile
Remove="$(MSBuildThisFileDirectory)..\contentFiles\cs\any\AppCoreNet.Diagnostics\**\*.cs"
LinkBase="AppCoreNet.Diagnostics"
Visible="false" />
<Compile
Include="$(MSBuildThisFileDirectory)..\contentFiles\cs\any\AppCoreNet.Diagnostics\**\*.cs"
LinkBase="AppCoreNet.Diagnostics"
Visible="false" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\build\AppCoreNet.Diagnostics.Sources.targets" />

<!--
Source assets are not added to the compile items for transitive dependencies,
so they need to be added manually.
-->
<ItemGroup>
<Compile
Include="$(MSBuildThisFileDirectory)..\contentFiles\cs\any\AppCoreNet.Diagnostics\**\*.cs"
Exclude="@(Compile)"
LinkBase="AppCoreNet.Diagnostics"
Visible="false" />
</ItemGroup>
</Project>

0 comments on commit 068e027

Please sign in to comment.