Skip to content

Commit

Permalink
Output RunVSTest NuGet package (#538)
Browse files Browse the repository at this point in the history
* Output NuGet package for RunVSTest
* Disable sbom since it's not working
  • Loading branch information
AndyGerlicher authored Mar 7, 2024
1 parent ce40e3e commit f2e810d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 31 deletions.
3 changes: 3 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ pr:
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
sdl:
sbom:
enabled: false
pool:
name: VSEngSS-MicroBuild2022-1ES
demands:
Expand Down
64 changes: 33 additions & 31 deletions src/RunTests/Microsoft.Build.RunVSTest.csproj
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Microsoft.Build.RunVSTest</PackageId>
<Description>Runs VS Test Console</Description>
<NoDefaultExcludes>true</NoDefaultExcludes>
<BuildOutputTargetFolder>build\</BuildOutputTargetFolder>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<DevelopmentDependency>true</DevelopmentDependency>
<LangVersion>latest</LangVersion>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build.Tasks.Core" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="build\Microsoft.Build.RunVSTest.props">
<PackagePath>build\</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Include="build\Microsoft.Build.RunVSTest.targets">
<PackagePath>build\</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<FilesToSign Include="$(TargetPath)" Authenticode="Microsoft400" StrongName="StrongName" />
</ItemGroup>
</Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Microsoft.Build.RunVSTest</PackageId>
<Description>Runs VS Test Console</Description>
<NoDefaultExcludes>true</NoDefaultExcludes>
<BuildOutputTargetFolder>build\</BuildOutputTargetFolder>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<DevelopmentDependency>true</DevelopmentDependency>
<LangVersion>latest</LangVersion>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ArtifactsPath>$(BaseArtifactsPath)$(MSBuildProjectName)\</ArtifactsPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build.Tasks.Core" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="build\Microsoft.Build.RunVSTest.props">
<PackagePath>build\</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Include="build\Microsoft.Build.RunVSTest.targets">
<PackagePath>build\</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<FilesToSign Include="$(TargetPath)" Authenticode="Microsoft400" StrongName="StrongName" />
</ItemGroup>
</Project>

0 comments on commit f2e810d

Please sign in to comment.