Skip to content

Could not load file or assembly System.ServiceModel.Primitives.dll #228

Closed Answered by dstelljes
JohnLeyva asked this question in Q&A
Discussion options

You must be logged in to vote

dotnet avro create doesn’t attempt to load any assemblies that aren’t specified with --assembly. To get this to work, you should be able to explicitly pull in System.ServiceModel.Primitives with another --assembly:

dotnet avro create --type $type --assembly $dll --assembly System.ServiceModel.Primitives.dll

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JohnLeyva
Comment options

Answer selected by dstelljes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #227 on September 07, 2022 12:40.