The Newtonsoft.Json one I am surprised about, as when you install
4.0.7 it should have added an Assembly redirect to your app.config,
same with Castle WIndsor (CommonServiceLocator is build against 2.5,
but NuGet should have added the redirect) try adding the following to
your test project app.config (and check your web.config has them as
well):
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json"
publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.7.0" newVersion="4.0.7.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Castle.Windsor"
publicKeyToken="407dd0808d44fbdc" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
The nhibernate one I am not sure about, looks to me like the version
of NH.Search you are using is built against an older version of NH,
try adding an assembly redirect for that as well!
Hope this help, let us know how it goes!
> --
> You received this message because you are subscribed to the Google Groups
> "S#arp Architecture" group.
> To post to this group, send email to sharp-arc...@googlegroups.com.
> To unsubscribe from this group, send email to
> sharp-architect...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sharp-architecture?hl=en.
https://github.com/sharparchitecture/Sharp-Architecture/downloads
You would extract the zip, run the bat file and then you should have a
"Sharp Architecture - 2.0.0" templify package. There was a bad package
uploaded at some points, so maybe that is what you downloaded. Can you
try downloading agian?
The scaffolding project has been removed from SharpArch. And you can
use the MVC4Scaffolding with some customisation of the
RepositoryWithContext template.
There is a blog post explaining how to get this done, unfortunatly we
seem to have lost the DNS record for the Sharp Architecture blog, so I
can't provide a link! :S
I'll let you know when it is back online.
https://github.com/sharparchitecture/Sharp-Architecture/wiki
If you are new to castle/nhibernate I recommend going through their
documentation:
http://stw.castleproject.org/Windsor.MainPage.ashx
http://nhforge.org/doc/nh/en/index.html (Is for an older version of NH
but still relevant)