Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

dotnet-extensions v0.9.3.0, Does not work with Struturizr.Core 1.0.0 #4

@jeffcollaboro

Description

@jeffcollaboro

Just a heads up to anyone hitting an exception :

  • {"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions