spmeta2 icon indicating copy to clipboard operation
spmeta2 copied to clipboard

Add assembly version and "integrity" check

Open SubPointSupport opened this issue 7 years ago • 4 comments

SPMeta2 should check versions of its libraries used.

The problem is that sometimes various SPMeta2 assemblies are used:

  • from the local folder
  • from GAC

Such inconsistency might and does lead to heavy issues with serialization/deserialization, provision and other funky stuff - CSOM assemblies might be older but debug/trace logs would say that SPMeta2 is up to data.

There should be a new service which would check version of SPMeta2 libraries used - all of them should be the same version across the board.

Based of several feedbacks including the following: https://www.yammer.com/spmeta2feedback/#/Threads/show?threadId=943016920

SubPointSupport avatar Oct 02 '17 21:10 SubPointSupport

I've ran into this issue myself before!

andreasblueher avatar Oct 11 '17 15:10 andreasblueher

@andreasblueher, what was the scenario on which you had this issue?

avishnyakov avatar Oct 11 '17 21:10 avishnyakov

I had used a different version for building my solution than the one which was deployed to the server. Not sure if there's something you can do about that, but since I know I haven't had this issue again.

andreasblueher avatar Oct 12 '17 07:10 andreasblueher

Same-same here, either WSP deployment or desktop/console app would fail due to assembly mismatch. Rare, but extremely hard to troubleshoot situations. We'll add this check to avoid this consufion and keep everyone sane.

avishnyakov avatar Oct 13 '17 03:10 avishnyakov