diff --git a/build/scripts/Unstub.ps1 b/build/scripts/Unstub.ps1 index 7888f14917..1bac58ffd0 100644 --- a/build/scripts/Unstub.ps1 +++ b/build/scripts/Unstub.ps1 @@ -30,30 +30,3 @@ $itemGroupNode = $xml.CreateElement("ItemGroup") $itemGroupNode.AppendChild($packageReferenceNode) $xml.DocumentElement.AppendChild($itemGroupNode) $xml.Save($projFile) - - -# -# Unstub native telemetry -# - -# Delete the existing stub .h -Remove-Item "$($PSScriptRoot)\..\..\telemetry\DevHome.Telemetry.Native\inc\MicrosoftTelemetry.h" - -# Load packages.config -$packagesConfig = "$($PSScriptRoot)\..\..\telemetry\DevHome.Telemetry.Native\packages.config" -$xml = [xml](Get-Content $packagesConfig -Encoding UTF8 -Raw) -$xml.PreserveWhitespace = $true - -# Create new -# e.g. -$packageNode = $xml.CreateElement("package"); -$packageNode.SetAttribute("id", "Microsoft.Telemetry.Inbox.Native") -$packageNode.SetAttribute("version", "10.0.18362.1-190318-1202.19h1-release.amd64fre") -$packageNode.SetAttribute("targetFramework", "native") - -# Append to -$packagesNode = $xml.SelectSingleNode("/packages") -$packagesNode.AppendChild($packageNode) - -# Save -$xml.Save($packagesConfig)