KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to get intellisense in VS2008 in a js file, foo.js, from another js library/file I've written but cannot figure out the reference path ?syntax?/?string? The library is in a file called common.js which is in the same folder as foo.js I'm working on. Here's the paths I've tried... /// <reference path="../../scripts/common.js"/> /// <reference path="/../scripts/common.js"/> /// <reference path="../scripts/common.js"/> /// <reference path="/scripts/common.js"/> /// <reference path="scripts/common.js"/> /// <reference path="/common.js"/> /// <reference path="../common.js"/> /// <reference path="/common.js"/> /// <reference path="common.js"/> What's the secret path syntax/string that I'm missing? FWIW the top path is what is set in the master page of this MVC app...like so <script type="text/javascript" src="../../scripts/common.js"></script> Thanks Greg
Tags (comma-separated)
Save Edits
Cancel