Including javascript files from other projects inside the same solution
- by gnomixa
I have a project called WebResources where I have all the JS files that I intend to use in 2 other projects (all three projects sit in the same solution).
I just spent 2 hours playing around with the file paths and VS just doesn't see the JS file (unless I specify the full path with the drive letter).
Is there a trick to including javascript files relatively from other projects?
My file structure is something like:
Project1
Default.aspx
Project2
WebResourcesProject
/js
testToInclude.js
No matter how I try to include testToInclude.js inside Default.aspx, VS doesn't see it.
Any ideas?