You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
{"Could not load type 'Structurizr.ModelItemView' from assembly 'Structurizr.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.":"Structurizr.ModelItemView"}
Whilst trying to write a workspace e.g.
plantUMLWriter.Write(workspace, streamWriter);
Internally this fails as the code attempts to use the RelationshipViewExtensions class to get the direction of the relationship using the GetDirection extension (SetDirection also fails). It attempts to cast the relationship view into a Structurizr.ModelItemView that has been deprecated and removed from Structurizr between v0.9.7 and v1.0.0.
Nuget is not your friend here, it defaults to the latest and greatest, and there are no version dependencies defined between the two packages.
The easy fix is to roll back to v0.9.7 (or 0.9.3) of Structurizr.Core