Skip to content

Commit

Permalink
Fixed nuget packages. (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haplois authored Mar 1, 2021
1 parent 8ac9547 commit 32f53ae
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 42 deletions.
4 changes: 2 additions & 2 deletions scripts/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ function Create-NugetPackages {

# Copy over the nuspecs to the staging directory
if ($TFB_Official) {
$nuspecFiles = @("MSTest.TestAdapter.Dotnet.nuspec", "MSTest.TestAdapter.nuspec", "MSTest.TestAdapter.symbols.nuspec", "MSTest.TestFramework.nuspec", "MSTest.TestFramework.symbols.nuspec", "MSTest.Internal.TestFx.Documentation.nuspec")
$nuspecFiles = @("MSTest.TestAdapter.nuspec", "MSTest.TestAdapter.symbols.nuspec", "MSTest.TestFramework.nuspec", "MSTest.TestFramework.symbols.nuspec", "MSTest.Internal.TestFx.Documentation.nuspec")
}
else {
$nuspecFiles = @("MSTest.TestAdapter.Enu.nuspec", "MSTest.TestFramework.enu.nuspec", "MSTest.TestAdapter.Dotnet.nuspec")
$nuspecFiles = @("MSTest.TestAdapter.Enu.nuspec", "MSTest.TestFramework.enu.nuspec")
}

foreach ($file in $nuspecFiles) {
Expand Down
32 changes: 0 additions & 32 deletions src/Package/MSTest.TestAdapter.Dotnet.nuspec

This file was deleted.

2 changes: 1 addition & 1 deletion src/Package/MSTest.TestAdapter.Enu.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<dependencies>
<group targetFramework="netcoreapp1.0">
<dependency id="NETStandard.Library" version="1.6.1" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
<dependency id="System.Diagnostics.TextWriterTraceListener" version="4.3.0" />
</group>

Expand Down
2 changes: 1 addition & 1 deletion src/Package/MSTest.TestAdapter.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<tags>MSTest TestFramework TestAdapter VisualStudio Unittest MSTestV2 Microsoft</tags>
<dependencies>
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
</dependencies>
</metadata>
<files>
Expand Down
6 changes: 3 additions & 3 deletions src/Package/MSTest.TestFramework.enu.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
<dependencies>
<group targetFramework="netstandard1.0">
<dependency id="NETStandard.Library" version="1.6.1" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
<dependency id="System.Diagnostics.TextWriterTraceListener" version="4.3.0" />
</group>

<group targetFramework="net45">
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
</group>

<group targetFramework="uap10.0">
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
</group>
</dependencies>
</metadata>
Expand Down
6 changes: 3 additions & 3 deletions src/Package/MSTest.TestFramework.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
<dependencies>
<group targetFramework="netstandard1.0">
<dependency id="NETStandard.Library" version="1.6.1" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
<dependency id="System.Diagnostics.TextWriterTraceListener" version="4.3.0" />
</group>

<group targetFramework="net45">
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
</group>

<group targetFramework="uap10.0">
<dependency id="Microsoft.TestPlatform.AdapterUtilities" />
<dependency id="Microsoft.TestPlatform.AdapterUtilities" version="[16.9.1, )" />
</group>
</dependencies>
</metadata>
Expand Down

0 comments on commit 32f53ae

Please sign in to comment.