Skip to content

Commit

Permalink
(#63) Shared: include into the main NuGet package
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jan 21, 2023
1 parent fbe2a30 commit d8f5c29
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/WpfMath.Shared/WpfMath.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net452</TargetFrameworks>
<RootNamespace>WpfMath</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions src/WpfMath/WpfMath.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ Changed:
<ProjectReference Include="..\WpfMath.Shared\WpfMath.Shared.csproj" />
</ItemGroup>

<!-- TODO: Remove this after WpfMath.Shared gets into a separate package (together with the Avalonia release) -->
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
</ItemGroup>
Expand Down

0 comments on commit d8f5c29

Please sign in to comment.