Hi Martina, i was following part 1 of the tutorial (which was very helpful by the way . many thanks) and you it skipped to having all this in place. I am struggling to understand the structure of this project or how to start creating it. Would you mind helping me in any explanation or probably the source code of this project?
Error 1 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\WindsorControllerFactory.cs 1 7 MVC.Tutorial
Error 2 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 1 7 MVC.Tutorial
Error 3 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 2 7 MVC.Tutorial
Error 4 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 3 7 MVC.Tutorial
Error 5 The type or namespace name ‘IKernel’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\WindsorControllerFactory.cs 13 26 MVC.Tutorial
Error 6 The type or namespace name ‘IKernel’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\WindsorControllerFactory.cs 15 41 MVC.Tutorial
Error 7 The type or namespace name ‘IWindsorInstaller’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 17 38 MVC.Tutorial
Error 8 The type or namespace name ‘IWindsorContainer’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 19 29 MVC.Tutorial
Error 9 The type or namespace name ‘IConfigurationStore’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 19 58 MVC.Tutorial
I tried looking up the problem but it doesn’t seem to be documented enough. I thought you might know what the issue is off the top of your head?
I don’t know if you’ve taken this into account but I only tested this project on 7.1, so if you want a later version you’ll need to update a bunch of .dlls to match.
Hi Martina, i was following part 1 of the tutorial (which was very helpful by the way . many thanks) and you it skipped to having all this in place. I am struggling to understand the structure of this project or how to start creating it. Would you mind helping me in any explanation or probably the source code of this project?
Hello – here’s the sample project: https://github.com/Sitecore-Community/sample-sitecore-mvc and here is how to set up a project: http://sitecore-community.github.io/docs/sitecore-mvc/creating-project/ (includes video). 🙂
Hi Again Martina,
Sorry to be a bit pushy but as soon as i clone the https://github.com/Sitecore-Community/sample-sitecore-mvc project and try to build it in VS2013 after performing step 3 I get the following errors:
Error 1 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\WindsorControllerFactory.cs 1 7 MVC.Tutorial
Error 2 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 1 7 MVC.Tutorial
Error 3 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 2 7 MVC.Tutorial
Error 4 The type or namespace name ‘Castle’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 3 7 MVC.Tutorial
Error 5 The type or namespace name ‘IKernel’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\WindsorControllerFactory.cs 13 26 MVC.Tutorial
Error 6 The type or namespace name ‘IKernel’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\WindsorControllerFactory.cs 15 41 MVC.Tutorial
Error 7 The type or namespace name ‘IWindsorInstaller’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 17 38 MVC.Tutorial
Error 8 The type or namespace name ‘IWindsorContainer’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 19 29 MVC.Tutorial
Error 9 The type or namespace name ‘IConfigurationStore’ could not be found (are you missing a using directive or an assembly reference?) C:\Projects\sample-sitecore-mvc\MVC\IoC\Installers\DefaultInstallers.cs 19 58 MVC.Tutorial
I tried looking up the problem but it doesn’t seem to be documented enough. I thought you might know what the issue is off the top of your head?
many thanks
Jawad
Oh that’s amazing! many thanks 🙂
You need Castle Windsor installed in your project: https://www.nuget.org/packages/Castle.Windsor/
I don’t know if you’ve taken this into account but I only tested this project on 7.1, so if you want a later version you’ll need to update a bunch of .dlls to match.
Ahhh brilliant! Installing it for all projects worked 😀 Thanks for your quick response 😉
I am working with version 7.0 ( same version you used in Tutorial 1 )
Great stuff! Glad to hear it’s working – ping me on Twitter if you have any more questions, I’ll see that even quicker. 😀