I am trying to upgrade to VS2012 and hv installed Structmap 2.6.4 and I am getting an error 'No Default Instance defined for PluginFamily System.Data.SqlClient.SqlCredential'. I have tried building the existing project as .net 4 and .net 4.5. I have made no code changes. I am pretty new to Structure Map as I have inherited this code from another team. Any help to point me in the right direction would be appreciated. Error shown below:
StructureMap.StructureMapException occurred
HResult=-2146232832
Message=StructureMap Exception Code: 202
No Default Instance defined for PluginFamily System.Data.SqlClient.SqlCredential, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source=StructureMap
ErrorCode=202
StackTrace:
at StructureMap.BuildSession.<.ctor>b__0(Type t) in c:\BuildAgent\work\767273992e840853\src\StructureMap\BuildSession.cs:line 36
InnerException:
I am trying to upgrade to VS2012 and hv installed Structmap 2.6.4 and I am getting an error 'No Default Instance defined for PluginFamily System.Data.SqlClient. SqlCredential'. I have tried building the existing project as .net 4 and .net 4.5. I have made no code changes. I am pretty new to Structure Map as I have inherited this code from another team. Any help to point me in the right direction would be appreciated. Error shown below:
StructureMap. StructureMapException occurred
HResult=-2146232832
Message=StructureMap Exception Code: 202
No Default Instance defined for PluginFamily System.Data.SqlClient. SqlCredential, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken= b77a5c561934e089
Source=StructureMap
ErrorCode=202
StackTrace:
at StructureMap.BuildSession.<. ctor>b__0(Type t) in c:\BuildAgent\work\ 767273992e840853\src\ StructureMap\BuildSession.cs: line 36
InnerException: