File tree 1 file changed +0
-27
lines changed
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -30,30 +30,3 @@ $itemGroupNode = $xml.CreateElement("ItemGroup")
30
30
$itemGroupNode.AppendChild ($packageReferenceNode )
31
31
$xml.DocumentElement.AppendChild ($itemGroupNode )
32
32
$xml.Save ($projFile )
33
-
34
-
35
- #
36
- # Unstub native telemetry
37
- #
38
-
39
- # Delete the existing stub .h
40
- Remove-Item " $ ( $PSScriptRoot ) \..\..\telemetry\DevHome.Telemetry.Native\inc\MicrosoftTelemetry.h"
41
-
42
- # Load packages.config
43
- $packagesConfig = " $ ( $PSScriptRoot ) \..\..\telemetry\DevHome.Telemetry.Native\packages.config"
44
- $xml = [xml ](Get-Content $packagesConfig - Encoding UTF8 - Raw)
45
- $xml.PreserveWhitespace = $true
46
-
47
- # Create new <package>
48
- # e.g. <package id="Microsoft.Telemetry.Inbox.Native" version="10.0.18362.1-190318-1202.19h1-release.amd64fre" targetFramework="native" />
49
- $packageNode = $xml.CreateElement (" package" );
50
- $packageNode.SetAttribute (" id" , " Microsoft.Telemetry.Inbox.Native" )
51
- $packageNode.SetAttribute (" version" , " 10.0.18362.1-190318-1202.19h1-release.amd64fre" )
52
- $packageNode.SetAttribute (" targetFramework" , " native" )
53
-
54
- # Append to <packages>
55
- $packagesNode = $xml.SelectSingleNode (" /packages" )
56
- $packagesNode.AppendChild ($packageNode )
57
-
58
- # Save
59
- $xml.Save ($packagesConfig )
You can’t perform that action at this time.
0 commit comments