Skip to content

Issues building package when referencing other OpenTAP Package

In my package I'm referencing another OpenTAP Package (e.g. WPF Controls) this way:

  <ItemGroup>
    <OpenTapPackageReference Include="WPF Controls"/>
  </ItemGroup>

I'm not able to build the package in release mode in a clean bin-folder. The first time I build it in release mode, it looks as if the above reference isn't resolved:
error CS0246: The type or namespace name 'Keysight' could not be found (are you missing a using directive or an assembly reference?)

Next, I can validate that the package is installed by ´tap.exe package list --installed´:

OpenTAP      - 9.10.4+739ebc1b - installed
WPF Controls - 9.10.0+ce1f8303 - installed

If I build it again in release mode in the same folder, it succeeds.

The above is valid for this package each time, I try to build it into a clean bin-folder.

Observed with OpenTAP v9.10.4+739ebc1b.