Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
200 stars 37 forks source link

archive.exe shall print an error in case a version mismatch is detected #227

Closed Kittyfisto closed 4 years ago

Kittyfisto commented 4 years ago

Current behaviour

  1. Create a plugin project
  2. Reference Tailviewer.Api nuget package in Version X
  3. Implement at least one plugin, add required attributes
  4. Execute "archive pack" on the resulting binary using an older version of archive.exe

A cryptic error message appears which claims that the plugin does not specify the PluginId attribute.

Expected behaviour

A human readable error message shall appear which tells the user that the user shall use the same archive.exe version that matches the nuget version. For example: "ERROR: You are using archive.exe v0.8.1 but are targeting Tailviewer.Api.dll v0.9.850. Please invoke archive.exe v0.9.850!"

Kittyfisto commented 4 years ago

Fixed with v0.9.1