StructureMap Exception Code: 202 No Default Instance defined for PluginFamily

前端 未结 8 1203
-上瘾入骨i
-上瘾入骨i 2020-12-20 11:05

I am new to StructureMap. I have downloaded and am using version 2.6.1.0. I keep getting the below error:

StructureMap Exception Code: 202 No Def

8条回答
  •  独厮守ぢ
    2020-12-20 11:49

    Another thing to look for is to make sure that the dependency (class) that you are injecting is public. If the class is internal, it can cause this issue.

提交回复
热议问题