I know this topic has been discussed to death, but there is one thing that I can’t wrap my head around.
I’m working on a Web Application using ASP.NET MVC and I come across a scenario where I need a helper class (this usually happens in the early stages of development. So I go ahead and create a helper project in my solution that I use to manage all of my Helper Classes.
Now, do I have to build that project and dump the dll in the bin directory every time I make changes to is, or is there a way to have the main web application reference the classes contained within the separate project without the separate build process?
I’m just looking for the easiest way to add helper classes without the hastel of building and moving the dll every time I make a change or addition.
Also, sorry for the very newbie-esque question here. All of the web apps I’ve build in the past have all been in the same project (web forms, App_Code, etc).
You can encorporate your Helper project and your MVC project in one Solution.
From your solution explorer simply right click on the SolutionName and choose add existing project. This will allow you to add an existing project as part of a whole solution. When finished then you can add references to your projects by using other projects in your solution. No dll copies needed just build the solution and your ready to go.