structuremap 4.5.3 project not loading in visual studio 2015

30 views
Skip to first unread message

stev...@mail.com

unread,
Dec 8, 2017, 11:54:26 AM12/8/17
to structuremap-users

 I download the structuremap 4.5.3 source code from git hub and when opening the structuremap solution file in Visual Studio 2015 the none of project files loaded? 

Is there something I need to do so the projects will load?


I need a signed assembly of structuremap. When structuremap 4.5.3 was added to an mvc project from nuget the assembly was not signed.

So i signed the assembly myself. But when using the signed assembly the following debug error occurs

Severity          Code    Description     Project File      Line     Suppression State

Error   CS0012           The type 'CreatePluginFamilyExpression<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'StructureMap, Version=4.0.0.315, Culture=neutral, PublicKeyToken=null'.            SpaceRadar.Web.Api C:\spaceradarweb\spaceradarweb\SpaceRadar\SpaceRadar\src\SpaceRadar.Web.Api\DependencyResolution\LogRegistry.cs            14        Active

Error   CS0012           The type 'GenericFamilyExpression' is defined in an assembly that is not referenced. You must add a reference to assembly 'StructureMap, Version=4.0.0.315, Culture=neutral, PublicKeyToken=null'.            SpaceRadar.Web.Api C:\spaceradarweb\spaceradarweb\SpaceRadar\SpaceRadar\src\SpaceRadar.Web.Api\DependencyResolution\LogRegistry.cs            14        Active

The errors do not occur when using the unassigned assemsbly version .

So I download the structuremap 4.5.3 source code from git hub and when opening the structuremap solution file in Visual Studio 2015 the none of project files loaded?

 

Is there something I must be done to get the projected to load in VS 2015?

Is structure 4.5.3 using .Net Core instead of the usual .Net Framework?

Jeremy Miller

unread,
Dec 8, 2017, 12:33:01 PM12/8/17
to structure...@googlegroups.com
StructureMap moved to the new SDK project structure quite a while ago. You’d need VS2017 to work w/ the StructureMap code.

You might try to investigate using StrongNamer instead in your build process rather than having to sign it yourself.

- Jeremy 


--
You received this message because you are subscribed to the Google Groups "structuremap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structuremap-us...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/structuremap-users/f55cff32-89f1-4428-a9b0-eafcf887dc14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages