Skip to content

Commit

Permalink
Add README and solution tests to build properties
Browse files Browse the repository at this point in the history
A new line has been added to the build properties to include the README file in the build if it exists. Additionally, the tests associated with the solution have also been made visible internally. This ensures all relevant files and tests are included during the building process.
  • Loading branch information
frankhaugen committed Feb 4, 2024
1 parent 9b4cb95 commit f5d400b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
<None Include="../README.md" Pack="true" PackagePath="\" Condition="!Exists('README.md')"/>
<None Include="README.md" Pack="true" PackagePath="\" Condition="Exists('README.md')"/>
<None Include="../icon.png" Pack="true" PackagePath="\" Condition="!Exists('icon.png')"/>
<InternalsVisibleTo Include="$(AssemblyName).Tests"/>
<InternalsVisibleTo Include="$(SolutionName).Tests"/>
<InternalsVisibleTo Include="LINQPadQuery"/>
</ItemGroup>
</Project>

0 comments on commit f5d400b

Please sign in to comment.