Skip to content

Commit

Permalink
Make Testhost packable only on Windows (#15001)
Browse files Browse the repository at this point in the history
* Make Testhost packable except in source-only

* Tweak conditional
  • Loading branch information
mmitche authored Feb 6, 2025
1 parent 4490ff6 commit 1105ca7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</PropertyGroup>

<PropertyGroup>
<!-- Don't produce this package when building from source or inside the VMR as it doesn't build correctly on non-Windows. -->
<IsPackable Condition="'$(DotNetBuild)' != 'true'">true</IsPackable>
<!-- Don't pack on non-Windows as it doesn't build correctly. -->
<IsPackable Condition="'$(OS)' == 'Windows_NT'">true</IsPackable>
<NuspecFile>Microsoft.TestPlatform.TestHost.nuspec</NuspecFile>
<NuspecBasePath>$(OutputPath)</NuspecBasePath>
<PackageId>Microsoft.TestPlatform.TestHost</PackageId>
Expand Down

0 comments on commit 1105ca7

Please sign in to comment.