Skip to content

Commit

Permalink
[rel/17.1] Update dependencies from devdiv/DevDiv/vs-code-coverage (#…
Browse files Browse the repository at this point in the history
…3221)

* Update dependencies from https://dev.azure.com/devdiv/DevDiv/_git/vs-code-coverage build 20211214.1
* Change nuget structure

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jakub Chocholowicz <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2021
1 parent d72bcfa commit 4d9f0fb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.Internal.CodeCoverage" Version="17.1.2-beta.21609.3">
<Dependency Name="Microsoft.Internal.CodeCoverage" Version="17.1.2-beta.21614.1">
<Uri>https://dev.azure.com/devdiv/DevDiv/_git/vs-code-coverage</Uri>
<Sha>ec4e4222e21668f7c475802ef48881c71c62ca79</Sha>
<Sha>0e03e541780ab2d28c6ba20828f51a467e75826c</Sha>
</Dependency>
<Dependency Name="Microsoft.Diagnostics.NETCore.Client" Version="0.2.0-preview.21508.1">
<Uri>https://github.com/dotnet/diagnostics</Uri>
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
JS etc.) is risky. This can break setup authoring and cause runtime failures in workloads
where Rolsyn is not installed. -->
<MicrosoftCodeAnalysisVersion>3.8.0-3.20427.2</MicrosoftCodeAnalysisVersion>
<MicrosoftInternalCodeCoverageVersion>17.1.2-beta.21609.3</MicrosoftInternalCodeCoverageVersion>
<MicrosoftInternalCodeCoverageVersion>17.1.2-beta.21614.1</MicrosoftInternalCodeCoverageVersion>
<MicrosoftDiagnosticsNETCoreClientVersion>0.2.0-preview.21508.1</MicrosoftDiagnosticsNETCoreClientVersion>
<MicrosoftSourceBuildIntermediatediagnosticsVersion>5.0.0-preview.21508.1</MicrosoftSourceBuildIntermediatediagnosticsVersion>
</PropertyGroup>
Expand Down
3 changes: 3 additions & 0 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ function Copy-CodeCoverage-Package-Artifacts
$codeCoverageInstrumentationPackagesDir = Join-Path $env:TP_PACKAGES_DIR "microsoft.visualstudio.coverage.instrumentation\$codeCoverageExternalsVersion\lib\$TPB_TargetFrameworkNS20"
$codeCoverageImUbuntuPackagesDir = Join-Path $env:TP_PACKAGES_DIR "microsoft.internal.codecoverage\$codeCoverageExternalsVersion\contentFiles\any\any\InstrumentationEngine\ubuntu"
$codeCoverageImAlpinePackagesDir = Join-Path $env:TP_PACKAGES_DIR "microsoft.internal.codecoverage\$codeCoverageExternalsVersion\contentFiles\any\any\InstrumentationEngine\alpine"
$codeCoverageImMacosPackagesDir = Join-Path $env:TP_PACKAGES_DIR "microsoft.internal.codecoverage\$codeCoverageExternalsVersion\contentFiles\any\any\InstrumentationEngine\macos"

$microsoftCodeCoveragePackageDir = $(Join-Path $env:TP_OUT_DIR "$TPB_Configuration\Microsoft.CodeCoverage\")

Expand All @@ -895,6 +896,8 @@ function Copy-CodeCoverage-Package-Artifacts
Copy-Item $codeCoverageImUbuntuPackagesDir\x64 $microsoftCodeCoveragePackageDir\InstrumentationEngine\ubuntu\ -Force -Recurse
New-Item -ItemType directory -Path $microsoftCodeCoveragePackageDir\InstrumentationEngine\alpine\ -Force | Out-Null
Copy-Item $codeCoverageImAlpinePackagesDir\x64 $microsoftCodeCoveragePackageDir\InstrumentationEngine\alpine\ -Force -Recurse
New-Item -ItemType directory -Path $microsoftCodeCoveragePackageDir\InstrumentationEngine\macos\ -Force | Out-Null
Copy-Item $codeCoverageImMacosPackagesDir\x64 $microsoftCodeCoveragePackageDir\InstrumentationEngine\macos\ -Force -Recurse

# Copy TraceDataCollector resource dlls
if($TPB_LocalizedBuild) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-nupkgs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Verify-Nuget-Packages($packageDirectory, $version)
{
Write-Log "Starting Verify-Nuget-Packages."
$expectedNumOfFiles = @{
"Microsoft.CodeCoverage" = 59;
"Microsoft.CodeCoverage" = 62;
"Microsoft.NET.Test.Sdk" = 27;
"Microsoft.TestPlatform" = 599;
"Microsoft.TestPlatform.Build" = 21;
Expand Down
4 changes: 4 additions & 0 deletions src/package/nuspec/Microsoft.CodeCoverage.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
<file src="Microsoft.CodeCoverage\InstrumentationEngine\alpine\x64\libInstrumentationEngine.so" target="build\netstandard1.0\InstrumentationEngine\alpine\x64\libInstrumentationEngine.so" />
<file src="Microsoft.CodeCoverage\InstrumentationEngine\alpine\x64\VanguardInstrumentationProfiler_x64.config" target="build\netstandard1.0\InstrumentationEngine\alpine\x64\VanguardInstrumentationProfiler_x64.config" />

<file src="Microsoft.CodeCoverage\InstrumentationEngine\macos\x64\libCoverageInstrumentationMethod.dylib" target="build\netstandard1.0\InstrumentationEngine\macos\x64\libCoverageInstrumentationMethod.dylib" />
<file src="Microsoft.CodeCoverage\InstrumentationEngine\macos\x64\libInstrumentationEngine.dylib" target="build\netstandard1.0\InstrumentationEngine\macos\x64\libInstrumentationEngine.dylib" />
<file src="Microsoft.CodeCoverage\InstrumentationEngine\macos\x64\VanguardInstrumentationProfiler_x64.config" target="build\netstandard1.0\InstrumentationEngine\macos\x64\VanguardInstrumentationProfiler_x64.config" />

<file src="Microsoft.CodeCoverage\Shim\netcoreapp1.0\Microsoft.VisualStudio.CodeCoverage.Shim.dll" target="lib\netcoreapp1.0\" />
<file src="Microsoft.CodeCoverage\Shim\net45\Microsoft.VisualStudio.CodeCoverage.Shim.dll" target="lib\net45\" />

Expand Down

0 comments on commit 4d9f0fb

Please sign in to comment.