Skip to content

Can't create plugins with a reference to System or Microsoft assemblies #999

@JSCProjects

Description

@JSCProjects

Who's affected

Customers using the ServiceInsight SDK to create plugins with references to System or Microsoft assemblies.

Symptoms

When starting ServiceInsight with a plugin that has either an immediate or transitive reference to a System.* or Microsoft.* assembly, an exception is thrown with a message stating that the assembly cannot be loaded. For example when referencing Azure.Storage.Blobs assemblies, the following exception is thrown.

System.IO.FileNotFoundException: Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Diagnostics.DiagnosticSource, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
   at Azure.Core.Pipeline.ClientDiagnostics..ctor(String clientNamespace, Boolean isActivityEnabled)
   at Azure.Storage.Blobs.BlobContainerClient..ctor(String connectionString, String blobContainerName, BlobClientOptions options)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions