msix-packaging/tools/utils
..
.nuget
TestData
Utils
UtilsNetCore
UtilsNetCoreTests
UtilsTestExe
UtilsTests
PRIVACY.md
README.md
Utils.sln

README.md

This library contains the source for the Utils like AppxPackaging, AppxPackagingInterop, CommandLine, IO, Logger, ProcessRunner, and StandardInput. This library will be published as a Nuget package and consumed by sources in other projects.

Prerequisites

  • MSBuild
  • .NET Framework 4.6
  • .NET Core 2.0 This should be available in a standard installation of Visual Studio.

Build

Open and build msix-packaging/tools/utils/Utils.sln in Visual Studio; or:

msbuild.exe msix-packaging/tools/utils/Utils.sln

Testing

TAEF is used as the testing framework. This is available through the Windows Driver Kit.

To run the tests, go to msix-packaging/tools/utils/ and call te.exe on UtilsTests.dll produced by the build. E.g.

cd msix-packaging/tools/utils/
te.exe UtilsTests/bin/Debug/UtilsTests.dll

MakeAppx.exe and related binaries under msix-packaging/tools/utils/TestData/MakeAppx are taken from the redistributable binaries available in the MSIX Toolkit.

Data/Telemetry

This library includes instrumentation to collect usage and diagnostic (error) data and send it to Microsoft to help improve the products using it.

If you build the library yourself the instrumentation will not be enabled and no data will be sent to Microsoft.

The library respects machine wide privacy settings and users can opt-out on their device, as documented in the Microsoft Windows privacy statement here.

In short to opt-out, go to Start, then select Settings > Privacy > Diagnostics & feedback, and select Basic.

See the privacy statement for more details.