Reputation: 1412
I currently have 2 Solutions in visual studio. One contains a bunch of common javascript files, and another contains a bunch of asp.net stuff to use them. I can't merge the solutions, but is there any way I can reference the javascript files in one solution, in the other solution so that Intellisense can work?
I tried embedded the javascript as a resource: http://msdn.microsoft.com/en-us/library/bb398930(v=VS.90).aspx . Then I added that assembly as a reference into my asp solution, and tried to use
<reference path="myLibrary.js" assembly="JSLibrary" />
but I haven't had any luck. Did I miss something?
Upvotes: 1
Views: 117
Reputation: 11
Try it with this reference at the beginning of your JavaScript:
<reference name="JSLibrary.myLibrary.js" assembly="JSLibrary" / >
Upvotes: 1