I'm trying to use some script files between different projects. I have one solution with four projects. In the project "A" I have some scripts like Jquery, Javascript Plugins, etc, and i want to use them on the project "B", by adding a scriptmanager, or anything that works. What can i do this?
I'm using Visual Studio 2010.
Here is a printscreen with my environment.
[EDIT]
Hello, after doing what @CStick says, a have now the scripts in my other project, so a can't add them to a ScriptManager. The problem is path not found on Asp.net code. It cant find the script cause they're placed in the other project. What can i do to solve it?
I know this is old, but for future reader i post an answer.
You will have to use "Link project file" for this.
After this you can modify the file in booth project, but the fille will be only in the source physical location until you publish the project. This can cause problem for client side file, like script file, on debug because you cant view the file because it's not physically in the target project. You can use MsBuild to copy the source file on the target directory on build. (See this answer)
In short, you will create a .targets file then add a reference in your project file.