Skip to content

Commit

Permalink
Update Data assembly dependency in SharedLibraryCore
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax authored Feb 1, 2024
1 parent a81f9ec commit 570328d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions SharedLibraryCore/SharedLibraryCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@
<PackageReference Include="SimpleCrypto.NetCore" Version="1.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Data\Data.csproj" />
<ItemGroup>
<ProjectReference Include="..\Data\Data.csproj">
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<IncludeAssets>Data.dll</IncludeAssets>
</ProjectReference>
</ItemGroup>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
Expand All @@ -65,7 +68,7 @@
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
<Target DependsOnTargets="BuildOnlySettings;ResolveReferences" Name="CopyProjectReferencesToPackage">
<Target DependsOnTargets="ResolveReferences" Name="CopyProjectReferencesToPackage">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
Expand Down

0 comments on commit 570328d

Please sign in to comment.