Skip to content

Commit

Permalink
Add support for building packages for ES.FX Projects and fix VSTestRe…
Browse files Browse the repository at this point in the history
…sultsDirectory path.
  • Loading branch information
winromulus committed Jun 15, 2024
1 parent 3c3edc4 commit f9c2ad0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>

<!-- ES.FX Projects should build packages -->
<PropertyGroup Condition="'$(MSBuildProjectName)' == '' Or $(MSBuildProjectName.StartsWith('ES.FX'))">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
Expand All @@ -37,6 +38,6 @@
</ItemGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == '' Or $(MSBuildProjectName.EndsWith('.Tests'))">
<VSTestLogger>trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger>
<VSTestResultsDirectory>$(MSBuildThisFileDirectory)/.artifacts/TestResults</VSTestResultsDirectory>
<VSTestResultsDirectory>$(MSBuildThisFileDirectory).artifacts/TestResults</VSTestResultsDirectory>
</PropertyGroup>
</Project>

0 comments on commit f9c2ad0

Please sign in to comment.