Fix packaging of MSTest analyzers

This commit is contained in:
Amaury Levé 2023-12-05 14:18:09 +01:00
Родитель 966f585c21
Коммит edf2ed1715
2 изменённых файлов: 13 добавлений и 17 удалений

Просмотреть файл

@ -19,11 +19,12 @@ function Unzip {
function Confirm-NugetPackages {
Write-Verbose "Starting Confirm-NugetPackages."
$expectedNumOfFiles = @{
"MSTest.Sdk" = 7;
"MSTest.Internal.TestFx.Documentation" = 10;
"MSTest.TestFramework" = 94;
"MSTest.TestAdapter" = 154;
"MSTest" = 5;
"MSTest.Sdk" = 7;
"MSTest.Internal.TestFx.Documentation" = 10;
"MSTest.TestFramework" = 94;
"MSTest.TestAdapter" = 154;
"MSTest" = 5;
"MSTest.Analyzers" = 9;
}
$packageDirectory = Resolve-Path "$PSScriptRoot/../artifacts/packages/$configuration"

Просмотреть файл

@ -8,21 +8,16 @@
</PropertyGroup>
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>MSTest.Analyzers</PackageId>
<PackageVersion>1.0.0.0</PackageVersion>
<Authors>amauryleve</Authors>
<PackageLicenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</PackageLicenseUrl>
<PackageProjectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</PackageProjectUrl>
<PackageIconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</PackageIconUrl>
<RepositoryUrl>http://REPOSITORY_URL_HERE_OR_DELETE_THIS_LINE</RepositoryUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Description>MSTest.Analyzers</Description>
<PackageReleaseNotes>Summary of changes made in this release of the package.</PackageReleaseNotes>
<Copyright>Copyright</Copyright>
<PackageTags>MSTest.Analyzers, analyzers</PackageTags>
<PackageTags>MSTest Analyzers TestFramework Unittest MSTestV2 Microsoft Test Testing TDD Framework</PackageTags>
<PackageDescription>
MSTest is Microsoft supported Test Framework.
This package includes code analyzers and code fixes for MSTest.
</PackageDescription>
<DevelopmentDependency>true</DevelopmentDependency>
<NoPackageAnalysis>true</NoPackageAnalysis>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>