Multiple Projects
Hi,
Since I am expecting to make a fair few (MVC) custom widgets, I was hoping to keep them in a separate project. The reasoning is that I do not want to clutter up the Sitefinity application, and want to keep my own stuff separate.
Does anyone know if it is possible to create a separate MVC project in the same solution as the Sitefinity project? and if so how can I ensure that the widgets I create in my project are displayed in the toolbox of Sitefinity?
Any help would be great on this.
I've done something very similar to this with web forms. All I needed to do was copy the project that had the shared code in it to production and then add a virtual directory to it. All of my user controls were CodeFile instead of CodeBehind, but I could then reference the control in the toolbox through the virtual directory.
please ignore this, I just want to thread showing in my new account
still having issues
Hello Hywel,
Thank you for contacting us. Yes, you can create a separate project to house your MVC controls.
Take a look at the following forum post (look for the 2nd post by Brett Whittington, little more than halfway down). He goes into how he has created virtual directories for all of his shared code: