Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
</PropertyGroup>

<PropertyGroup>
<!-- Don't produce this package when building from source or inside the VMR as it relies on a VS license. -->
<IsPackable Condition="'$(DotNetBuild)' != 'true'">true</IsPackable>
<IsPackable>true</IsPackable>
<NuspecFile>Microsoft.TestPlatform.Portable.nuspec</NuspecFile>
<NuspecBasePath>$(OutputPath)</NuspecBasePath>
<PackageId>Microsoft.TestPlatform.Portable</PackageId>
Expand All @@ -32,7 +31,9 @@
</PackageDescription>
<!-- Override default license -->
<PackageLicenseFile>LICENSE_VS.txt</PackageLicenseFile>
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/LICENSE_VS.txt</PackageLicenseFullPath>
<!-- Use the MIT license when building from the VMR as the VS license is cloaked out. -->
<PackageLicenseFile Condition="'$(DotNetBuild)' == 'true'">LICENSE_MIT.txt</PackageLicenseFile>
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/$(PackageLicenseFile)</PackageLicenseFullPath>
</PropertyGroup>

<ItemGroup Label="NuGet">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
</PropertyGroup>

<PropertyGroup>
<!-- Don't produce this package when building from source or inside the VMR as it relies on a VS license. -->
<IsPackable Condition="'$(DotNetBuild)' != 'true'">true</IsPackable>
<IsPackable>true</IsPackable>
<NuspecFile>Microsoft.TestPlatform.nuspec</NuspecFile>
<NuspecBasePath>$(OutputPath)</NuspecBasePath>
<PackageId>Microsoft.TestPlatform</PackageId>
Expand All @@ -34,7 +33,9 @@
</PackageDescription>
<!-- Override default license -->
<PackageLicenseFile>LICENSE_VS.txt</PackageLicenseFile>
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/LICENSE_VS.txt</PackageLicenseFullPath>
<!-- Use the MIT license when building from the VMR as the VS license is cloaked out. -->
<PackageLicenseFile Condition="'$(DotNetBuild)' == 'true'">LICENSE_MIT.txt</PackageLicenseFile>
<PackageLicenseFullPath>$(SrcPackageFolder)licenses/$(PackageLicenseFile)</PackageLicenseFullPath>
</PropertyGroup>

<ItemGroup Label="NuGet">
Expand Down