Here’s my package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package Name="example_plugin" xmlns="http://keysight.com/Schemas/tap" Version="0.0.8" OS="Windows,Linux,MacOS">
<Description>
Add your description here
<Prerequisites> Python (3.12) </Prerequisites>
</Description>
<Dependencies>
<PackageDependency Package="OpenTAP" Version="^9.28.3" />
<PackageDependency Package="Python" Version="^3.1.0" />
</Dependencies>
<Files>
<File Path="example_plugin/**/*.py" >
<ProjectFile/>
</File>
<!-- this defines pip dependencies -->
<File Path="requirements.txt">
<PythonRequirements/>
<ProjectFile/>
</File>
<!-- <File Path="README.md" >
<ProjectFile/>
</File> -->
</Files>
</Package>
And here’s the log from the Package Manager:
2025-10-02 09:17:38.903552 ; Session ; Debug ; Session log loaded as 'C:\Program Files\Keysight\Test Automation\SessionLogs\PackageManager 2025-10-02 09-17-38.txt'. [2.76 ms]
2025-10-02 09:17:38.916990 ; OperatingSystem ; Debug ; OS is windows: Path.DirectorySeparatorChar == '\'
2025-10-02 09:17:38.938232 ; Session ; Debug ; Deleting log file: C:\Program Files\Keysight\Test Automation\SessionLogs\SessionLog 2025-10-01 12-11-21.txt
2025-10-02 09:17:38.942461 ; Session ; Debug ; Running 'C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\PackageManager.dll --isolated --force --target "C:\Program Files\Keysight\Test Automation"' in 'C:\Program Files\Keysight\Test Automation'.
2025-10-02 09:17:38.959579 ; AssemblyFinder ; Debug ; Found 18/51 assembly files. [5.57 ms]
2025-10-02 09:17:38.968330 ; Resolver ; Debug ; Found match for Keysight.OpenTap.Wpf, Version=9.29.2.0, Culture=neutral, PublicKeyToken=null in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Packages\WPF Controls\Keysight.OpenTap.Wpf.dll
2025-10-02 09:17:39.015255 ; AssemblyFinder ; Debug ; Found 18/51 assembly files. [3.77 ms]
2025-10-02 09:17:39.053717 ; Searcher ; Debug ; Ordered 14 assemblies according to references. [36.8 ms]
2025-10-02 09:17:39.081360 ; PluginManager ; Debug ; Found 10 plugin assemblies containing 271 plugin types. [63.5 ms]
2025-10-02 09:17:39.081798 ; PluginManager ; Debug ; Found version 9.29.1+335b2cbe of OpenTap.dll
2025-10-02 09:17:39.081829 ; PluginManager ; Debug ; Found version 9.29.1+335b2cbe of OpenTap.Package.dll
2025-10-02 09:17:39.081839 ; PluginManager ; Debug ; Found version 1.7.0+7cae7a07.7cae7a073ec443031eba82c35b15ceb54cfa85e5 of Keysight.OpenTap.Licensing.dll
2025-10-02 09:17:39.081842 ; PluginManager ; Debug ; Found version 9.29.1+335b2cbe of OpenTap.Plugins.BasicSteps.dll
2025-10-02 09:17:39.081848 ; PluginManager ; Debug ; Found version 1.5.0+0f81a854.0f81a854e8855eb3eb944d72c4ae5ff2a57c3699 of OpenTap.Expressions.dll
2025-10-02 09:17:39.081858 ; PluginManager ; Debug ; Found version 9.29.2+f14bbf9c.f14bbf9c8ba7e0e39d65d5e87731da216ba87322 of Keysight.OpenTap.Wpf.dll
2025-10-02 09:17:39.081864 ; PluginManager ; Debug ; Found version 9.29.2+f14bbf9c.f14bbf9c8ba7e0e39d65d5e87731da216ba87322 of PackageManager.dll
2025-10-02 09:17:39.081868 ; PluginManager ; Debug ; Found version 9.29.2+f14bbf9c.f14bbf9c8ba7e0e39d65d5e87731da216ba87322 of Editor.dll
2025-10-02 09:17:39.081872 ; PluginManager ; Debug ; Found version 1.4.3+0968b4c4 of OpenTap.OSIntegration.Windows.dll
2025-10-02 09:17:39.081876 ; PluginManager ; Debug ; Found version 3.1.0+73e66d85 of OpenTap.Python.dll
2025-10-02 09:17:39.081893 ; PluginManager ; Debug ; Searched 18 Assemblies. [65.8 ms]
2025-10-02 09:17:39.092568 ; AssemblyData ; Debug ; Loaded OpenTap. [469 us]
2025-10-02 09:17:39.092570 ; AssemblyData ; Debug ; Loaded OpenTap.Package. [402 us]
2025-10-02 09:17:39.092619 ; AssemblyData ; Debug ; Loaded OpenTap.Plugins.BasicSteps. [912 us]
2025-10-02 09:17:39.099653 ; AssemblyData ; Debug ; Loaded Keysight.OpenTap.Wpf. [81.6 us]
2025-10-02 09:17:39.161422 ; AssemblyData ; Debug ; Loaded System.Private.CoreLib. [1.50 us]
2025-10-02 09:17:39.169532 ; AssemblyData ; Debug ; Loaded OpenTap.Python. [736 us]
2025-10-02 09:17:39.171384 ; Resolver ; Debug ; Found match for Python.Runtime, Version=3.1.0.0, Culture=neutral, PublicKeyToken=5000fea6cba702dd in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\Python.Runtime.3.1.0.0\Python.Runtime.dll
2025-10-02 09:17:39.270904 ; Settings ; Debug ; EditorSettings loaded from C:\Program Files\Keysight\Test Automation\Settings\Editor.xml [265 ms]
2025-10-02 09:17:39.272118 ; Resolver ; Debug ; Found match for MahApps.Metro, Version=1.3.0.0, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\MahApps.Metro.1.3.0.0\MahApps.Metro.dll
2025-10-02 09:17:39.281123 ; Settings ; Debug ; PythonSettings loaded from C:\Program Files\Keysight\Test Automation\Settings\Python.xml [9.87 ms]
2025-10-02 09:17:39.283419 ; Resolver ; Debug ; Found match for Keysight.Ccl.Wsl, Version=6.6.0.0, Culture=neutral, PublicKeyToken=55333af07c70062e in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\Keysight.Ccl.Wsl.6.6.0.0\Keysight.Ccl.Wsl.dll
2025-10-02 09:17:39.464342 ; Resolver ; Debug ; Found match for Keysight.OpenTap.Licensing, Version=1.7.0.0, Culture=neutral, PublicKeyToken=null in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Packages\Keysight Licensing\Keysight.OpenTap.Licensing.dll
2025-10-02 09:17:39.484049 ; Resolver ; Debug ; Found match for System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\System.Windows.Interactivity.4.5.0.0\System.Windows.Interactivity.dll
2025-10-02 09:17:39.494591 ; Resolver ; Debug ; Found match for Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\Microsoft.Xaml.Behaviors.1.1.0.0\Microsoft.Xaml.Behaviors.dll
2025-10-02 09:17:39.646100 ; Python ; Debug ; Loaded Python Version 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] from 'python-3.12.10'.
2025-10-02 09:17:39.723216 ; SystemInfo ; Debug ; Microsoft Windows 10.0.19045X64
2025-10-02 09:17:39.723224 ; SystemInfo ; Debug ; .NET 9.0.9
2025-10-02 09:17:39.723351 ; SystemInfo ; Debug ; OpenTAP Engine 9.29.1+335b2cbe X64
2025-10-02 09:17:39.724777 ; Installation ; Debug ; example_plugin - 0.0.7
2025-10-02 09:17:39.724782 ; Installation ; Debug ; CSV - 9.14.2+44a9bac5
2025-10-02 09:17:39.724783 ; Installation ; Debug ; Editor - 9.29.2+f14bbf9c
2025-10-02 09:17:39.724786 ; Installation ; Debug ; Expressions - 1.5.0+0f81a854
2025-10-02 09:17:39.724788 ; Installation ; Debug ; Keysight Licensing - 1.7.0+7cae7a07
2025-10-02 09:17:39.724789 ; Installation ; Debug ; KS8000 - 9.29.2+f14bbf9c
2025-10-02 09:17:39.724790 ; Installation ; Debug ; Live Results Panel - 1.1.1+29b199cc
2025-10-02 09:17:39.724792 ; Installation ; Debug ; OpenTAP - 9.29.1+335b2cbe
2025-10-02 09:17:39.724793 ; Installation ; Debug ; OSIntegration - 1.4.3+0968b4c4
2025-10-02 09:17:39.724795 ; Installation ; Debug ; Python - 3.1.0+73e66d85
2025-10-02 09:17:39.724796 ; Installation ; Debug ; Results Viewer - 9.29.2+f14bbf9c
2025-10-02 09:17:39.724798 ; Installation ; Debug ; SQLite and PostgreSQL - 9.6.0+558afbf4
2025-10-02 09:17:39.724799 ; Installation ; Debug ; Timing Analyzer - 9.29.2+f14bbf9c
2025-10-02 09:17:39.724800 ; Installation ; Debug ; WPF Controls - 9.29.2+f14bbf9c
2025-10-02 09:17:39.724801 ; Installation ; Debug ; PathWave License Manager - 7.7.0+aaaa36aa
2025-10-02 09:17:39.729866 ; GUI ; Debug ; Loaded Dark Theme. [274 ms]
2025-10-02 09:17:39.754610 ; OpenTAP ; Information ; OpenTAP version '9.29.1+335b2cbe' 64-bit initialized 10/02/2025 [1.12 s]
2025-10-02 09:17:39.776605 ; Settings ; Debug ; No settings file exists for PackageManagerSettings. A new instance with default values has been created. [2.36 ms]
2025-10-02 09:17:39.975096 ; OperatingSystem ; Debug ; OS is windows: Path.DirectorySeparatorChar == '\'
2025-10-02 09:17:40.015111 ; AssemblyData ; Debug ; Loaded PackageManager. [45.5 us]
2025-10-02 09:17:40.051508 ; Settings ; Debug ; PackageManagerGuiSettings loaded from C:\Program Files\Keysight\Test Automation\Settings\Package Manager GUI.xml [63.8 ms]
2025-10-02 09:17:40.286438 ; Settings ; Debug ; Saved PackageManagerGuiSettings to C:\Program Files\Keysight\Test Automation\Settings\Package Manager GUI.xml [26.2 ms]
2025-10-02 09:17:40.401532 ; Resolver ; Debug ; Found match for Keysight.Kal.Licensing.Api, Version=7.7.0.1150, Culture=neutral, PublicKeyToken=55333af07c70062e in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\Keysight.Kal.Licensing.Api.7.7.0\Keysight.Kal.Licensing.Api.dll
2025-10-02 09:17:40.435746 ; KAL ; Debug ; KAL signature verified. [18.6 ms]
2025-10-02 09:17:40.481222 ; KAL Process ; Debug ; KAL Process Loaded [42.2 ms]
2025-10-02 09:17:40.487207 ; KAL ; Debug ; CCL support disabled: Keysight Fixed Licensing v1.7.0 or newer not installed.
2025-10-02 09:17:40.494430 ; KAL ; Debug ; KAL loaded with FLO support. [55.4 ms]
2025-10-02 09:17:41.585740 ; Searcher ; Debug ; Ordered 68 assemblies according to references. [1.56 s]
2025-10-02 09:17:41.808910 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.CB6D389B.1.xml [29.2 ms]
2025-10-02 09:17:41.919250 ; Settings ; Debug ; GuiControlsSettings loaded from C:\Program Files\Keysight\Test Automation\Settings\GUI Controls.xml [116 ms]
2025-10-02 09:17:41.923047 ; Resolver ; Debug ; Found match for OpenTap.Repository.Client, Version=4.17.0.0, Culture=neutral, PublicKeyToken=null in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\OpenTap.Repository.Client.4.17.0.0\OpenTap.Repository.Client.dll
2025-10-02 09:17:41.934160 ; Settings ; Debug ; No settings file exists for AuthenticationSettings. A new instance with default values has been created. [191 us]
2025-10-02 09:17:42.263969 ; FilePackageRepository ; Debug ; Rebuilding cache: .PackageCache.1D3D1B36.40.xml [314 ms]
2025-10-02 09:17:45.364610 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [58.4 ms]
2025-10-02 09:17:45.981916 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [31.1 ms]
2025-10-02 09:17:49.986258 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [56.1 ms]
2025-10-02 09:17:53.382263 ; AssemblyFinder ; Debug ; Found 18/51 assembly files. [8.04 ms]
2025-10-02 09:17:53.388304 ; Resolver ; Debug ; Found match for Editor, Culture=neutral, PublicKeyToken=null in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Editor.exe
2025-10-02 09:17:53.401771 ; Resolver ; Debug ; Unable to load C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Editor.exe. Bad IL format. The format of the file 'C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Editor.exe' is invalid.
2025-10-02 09:17:53.405850 ; Resolver ; Debug ; Found match for Editor, Culture=neutral, PublicKeyToken=null in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Editor.dll
2025-10-02 09:17:53.418656 ; Resolver ; Debug ; Found match for AvalonDock, Version=4.72.1.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4 in C:\Users\fentsc\AppData\Local\Temp\y2uwrspg.1qt\Dependencies\AvalonDock.4.72.1.0\AvalonDock.dll
2025-10-02 09:17:53.545990 ; Settings ; Debug ; Saved PackageManagerGuiSettings to C:\Program Files\Keysight\Test Automation\Settings\Package Manager GUI.xml [1.48 ms]
2025-10-02 09:17:53.564101 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [53.2 ms]
2025-10-02 09:17:53.573536 ; Updater ; Debug ; Progress 10%:
2025-10-02 09:17:53.604554 ; Updater ; Debug ; Progress 10%: Running command 'prepare uninstalling' on 'example_plugin'
2025-10-02 09:17:53.611082 ; Installer ; Debug ; Tried to prepare uninstalling example_plugin, but there was nothing to do.
2025-10-02 09:17:53.611374 ; Updater ; Debug ; Progress 90%:
2025-10-02 09:17:53.612223 ; Updater ; Debug ; Progress 100%: Done
2025-10-02 09:17:53.738861 ; Updater ; Debug ; Progress 10%:
2025-10-02 09:17:53.739944 ; Updater ; Debug ; Progress 10%: Running command 'uninstall' on 'example_plugin'
2025-10-02 09:17:53.746864 ; AssemblyData ; Debug ; Loaded OpenTap.OSIntegration.Windows. [981 us]
2025-10-02 09:17:53.747484 ; Package ; Debug ; Available custom actions for 'uninstall' stage. (1 actions: OS Integration - File associations and start menu items)
2025-10-02 09:17:53.750511 ; package ; Debug ; Deleting file 'Packages/example_plugin/example.py'.
2025-10-02 09:17:53.751580 ; package ; Debug ; Deleting file 'Packages/example_plugin/__init__.py'.
2025-10-02 09:17:53.752014 ; package ; Debug ; Deleting file 'Packages/example_plugin/requirements.txt'.
2025-10-02 09:17:53.752806 ; package ; Debug ; Deleting file 'C:\Program Files\Keysight\Test Automation/Packages/example_plugin/package.xml'.
2025-10-02 09:17:53.753623 ; Installer ; Information ; Successfully uninstalled example_plugin version 0.0.7. [13.5 ms]
2025-10-02 09:17:53.753638 ; Updater ; Debug ; Progress 90%:
2025-10-02 09:17:53.753893 ; Updater ; Debug ; Progress 100%: Done
2025-10-02 09:17:53.858996 ; Updater ; Information ; Uninstallation finished - Success: Action completed successfully.
2025-10-02 09:17:55.465841 ; Updater ; Warning ; Aborting.
2025-10-02 09:17:55.591731 ; Searcher ; Debug ; Ordered 68 assemblies according to references. [36.1 ms]
2025-10-02 09:17:55.756291 ; FilePackageRepository ; Debug ; Rebuilding cache: .PackageCache.CB6D389B.1.xml [24.9 ms]
2025-10-02 09:17:55.885346 ; FilePackageRepository ; Debug ; Rebuilding cache: .PackageCache.1D3D1B36.40.xml [127 ms]
2025-10-02 09:17:59.250139 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [37.6 ms]
2025-10-02 09:18:00.164390 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [42.5 ms]
2025-10-02 09:22:13.347559 ; Settings ; Debug ; Saved PackageManagerGuiSettings to C:\Program Files\Keysight\Test Automation\Settings\Package Manager GUI.xml [1.17 ms]
2025-10-02 09:22:13.384669 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [40.5 ms]
2025-10-02 09:22:13.394509 ; Install ; Debug ; Fetching package information...
2025-10-02 09:22:13.394520 ; Updater ; Debug ; Progress 5%: Gathering packages.
2025-10-02 09:22:13.461696 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.1D3D1B36.40.xml [26.1 ms]
2025-10-02 09:22:13.476147 ; Package Query ; Debug ; Read 40 packages from [FilePackageRepository: file:///C:/Users/fentsc/AppData/Local/OpenTap/PackageCache] [41.2 ms]
2025-10-02 09:22:13.513221 ; FilePackageRepository ; Debug ; Loading cache: .PackageCache.CB6D389B.1.xml [16.7 ms]
2025-10-02 09:22:13.514324 ; Package Query ; Debug ; Read 1 packages from [FilePackageRepository: file:///C:/Program%20Files/Keysight/Test%20Automation] [37.0 ms]
2025-10-02 09:22:14.894902 ; HttpPackageRepository ; Debug ; {"type":"TapPackage","directory":"/Packages/","version":"","architecture":"x64","os":"Windows"} -> found 1789 packages. [1.38 s]
2025-10-02 09:22:14.911338 ; image ; Debug ; Resolved image: example_plugin:0.0.7, CSV:^9.14.2+44a9bac5, Editor:^9.29.2+f14bbf9c, Expressions:^1.5.0+0f81a854, Keysight Licensing:^1.7.0+7cae7a07, KS8000:^9.29.2+f14bbf9c, Live Results Panel:^1.1.1+29b199cc, OpenTAP:^9.29.1+335b2cbe, OSIntegration:^1.4.3+0968b4c4, Python:^3.1.0+73e66d85, Results Viewer:^9.29.2+f14bbf9c, SQLite and PostgreSQL:^9.6.0+558afbf4, Timing Analyzer:^9.29.2+f14bbf9c, WPF Controls:^9.29.2+f14bbf9c, PathWave License Manager:^7.7.0+aaaa36aa [11.9 ms]
2025-10-02 09:22:25.622846 ; Updater ; Debug ; Progress 10%: Gathering dependencies.
2025-10-02 09:22:25.627840 ; PackageAction ; Debug ; Downloading 'example_plugin' version '0.0.7' from 'file:///C:/Users/fentsc/Code/opentap/smc-opentap-plugins'
2025-10-02 09:22:25.628651 ; FilePackageRepository ; Debug ; Downloading file without searching repository.
2025-10-02 09:22:25.630966 ; PackageAction ; Information ; Downloaded 'example_plugin' to 'C:\Users\fentsc\AppData\Local\OpenTap\PackageCache\example_plugin.0.0.7.Windows,Linux,MacOS.TapPackage'. [3.64 ms]
2025-10-02 09:22:25.631496 ; Updater ; Debug ; Progress 60%: Acquired 'example_plugin|0.0.7'.
2025-10-02 09:22:25.631690 ; Updater ; Debug ; Progress 60%: Finished downloading packages.
2025-10-02 09:22:25.631956 ; Install ; Information ; Installing to C:\Program Files\Keysight\Test Automation
2025-10-02 09:22:25.671168 ; Updater ; Debug ; Progress 60%: Installing packages.
2025-10-02 09:22:25.671407 ; Installer ; Information ; Installing C:\Users\fentsc\AppData\Local\OpenTap\PackageCache\example_plugin.0.0.7.Windows,Linux,MacOS.TapPackage
2025-10-02 09:22:25.671420 ; Updater ; Debug ; Progress 90%: Installing example_plugin.0.0.7.Windows,Linux,MacOS
2025-10-02 09:22:25.679602 ; package ; Debug ; Decompressed C:/Program Files/Keysight/Test Automation/Packages/example_plugin/example.py [2.03 ms]
2025-10-02 09:22:25.680070 ; package ; Debug ; Decompressed C:/Program Files/Keysight/Test Automation/Packages/example_plugin/__init__.py [450 us]
2025-10-02 09:22:25.680716 ; package ; Debug ; Decompressed C:/Program Files/Keysight/Test Automation/Packages/example_plugin/requirements.txt [608 us]
2025-10-02 09:22:25.681360 ; package ; Debug ; Decompressed C:/Program Files/Keysight/Test Automation/Packages/example_plugin/package.xml [630 us]
2025-10-02 09:22:25.682215 ; Package ; Debug ; Available custom actions for 'install' stage. (2 actions: OS Integration - File associations and start menu items, OpenTap.Python.PythonInstallAction)
2025-10-02 09:22:25.683138 ; OS Integration ; Debug ; Found 0 file associations and 0 start menu entries in package 'example_plugin'. [6.20 us]
2025-10-02 09:22:25.683145 ; OS Integration ; Debug ; Nothing to do. [20.6 us]
2025-10-02 09:22:25.683730 ; Package ; Information ; Package action PythonInstallAction completed [578 us]
2025-10-02 09:22:25.683829 ; Installer ; Information ; Installed example_plugin version 0.0.7 [11.2 ms]
2025-10-02 09:22:25.684057 ; Updater ; Debug ; Progress 100%: Package installation finished.
2025-10-02 09:22:25.775816 ; Updater ; Information ; Installation finished - Success: Action completed successfully.