Skip to content

package create wildcards does not work with package checksum

There is a bug when inserting the hash of a given file that has been expanded using wild cards. Take for instance this from the SDK package XML:

      <Hash>b8oL5Fr9NFhmrfTzeCqvDI7GD34=</Hash>
      <Hash>oq1cS0Za4O2dQc4dSZ8rzAZJv+A=</Hash>
      <Hash>KFdopKm8pY/kWvHDUZixJ7xsbA8=</Hash>
    </File>
    <File Path="Packages/SDK/Examples/ExamplePlugin\LowPassFilterDut.cs">
      <Hash>b8oL5Fr9NFhmrfTzeCqvDI7GD34=</Hash>
      <Hash>oq1cS0Za4O2dQc4dSZ8rzAZJv+A=</Hash>
      <Hash>KFdopKm8pY/kWvHDUZixJ7xsbA8=</Hash>
    </File>
    <File Path="Packages/SDK/Examples/ExamplePlugin\MeasurePeakAmplitudeTestStep.cs">
      <Hash>b8oL5Fr9NFhmrfTzeCqvDI7GD34=</Hash>
      <Hash>oq1cS0Za4O2dQc4dSZ8rzAZJv+A=</Hash>
      <Hash>KFdopKm8pY/kWvHDUZixJ7xsbA8=</Hash>

Notice that the hashes for each are the same. This is because the File has been expanded from

<File Path="Packages/SDK/Examples/ExamplePlugin\*.cs"/>

and hence are sharing the list of sub elements.