I want to share my validation javascript in my framework project with my normal website.
I have a project folder called framework, this is where I define core functionality and validation in a form of attributes.
The problem is this framework project also includes javascript files for client side validation. I want to reference these files in my main project. How would I go about the correct way of doing this?
I know about setting the build action to set the file in the bin folder and reference file within the bin. But I read this is the incorrect way of going about it. I am using visual studio 2012 with an mvc 4.5 project.