Merged PR 10518840: Update version.

Update version.
Include pipeline sync to github

PS - Removed a deprecated package (Microsoft.DotNet.Analyzers.Compatibility) from the sample application
This commit is contained in:
Obaro Ogbo 2024-04-02 10:36:47 +00:00
Родитель a7b5f90383
Коммит 31124e75aa
5 изменённых файлов: 48 добавлений и 20 удалений

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

@ -0,0 +1,38 @@
name: $(date:yyyyMMdd)$(rev:.r)
variables:
- name: system.debug
value: false
- group: Access Tokens
- group: Azure Account
resources:
repositories:
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
- repository: mainPipelines
type: git
name: WindowsProtocolTestSuites/ProtocolTestFramework
ref: AzurePipelines-main
trigger:
branches:
include:
- refs/heads/main
batch: true
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
pool:
os: windows
image: windows-2019
name: Azure-Pipelines-1ESPT-ExDShared
customBuildTags:
- MigrationTooling-microsoft-WindowsProtocolTestSuites-53147-Tool
stages:
- stage: Stage
jobs:
- job: SyncToGithub
displayName: Sync to Github
steps:
- template: pipelines/1es/PTFMainSyncToGitHub-steps.yml@mainPipelines

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

@ -1,18 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>XXXX_Adapter</AssemblyName>
<RootNamespace>Microsoft.Protocols.TestSuites.XXXX.Adapter</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Protocols.TestTools" Version="2.4.0" />
<PackageReference Include="Microsoft.Protocols.TestTools" Version="2.5.0" />
</ItemGroup>
<ItemGroup>
<None Update="XXXX_SUTControlAdapter\ResetSUT.ps1">

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

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.Protocols.TestSuites.XXXX.TestSuite</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
@ -16,15 +16,11 @@
<StartupObject />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
<PackageReference Include="Microsoft.Protocols.TestTools" Version="2.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="Microsoft.Protocols.TestTools" Version="2.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\XXXX_Adapter\XXXX_Adapter.csproj" />

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

@ -4,6 +4,6 @@
using System.Reflection;
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyVersion("2.4.0")]
[assembly: AssemblyFileVersion("2.4.0.0")]
[assembly: AssemblyVersion("2.5.0")]
[assembly: AssemblyFileVersion("2.5.0.0")]
[assembly: AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]

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

@ -2,7 +2,7 @@
<package >
<metadata>
<id>Microsoft.Protocols.TestTools</id>
<version>2.4.0</version>
<version>2.5.0</version>
<title>Protocol Test Framework</title>
<authors>Microsoft</authors>
<owners>Microsoft</owners>