James Andrew Smith
James Andrew Smith

Reputation: 1566

Sharing Javascript files with other projects

I have a javascript file in another project which is used for validation. I want this file available for my website main project file. How do I go about doing this?

I am using asp.net MVC4.

thanks...

The project files are in a solution folder in visual studio and want to reference to the file in another project.

Upvotes: 0

Views: 766

Answers (2)

G. Stoynev
G. Stoynev

Reputation: 7783

If you want to keep one physical copy of the file, you can keep it in one place, and add it as a "linked" file in your other projects:

enter image description here

Upvotes: 1

Kelly
Kelly

Reputation: 3342

You might want to use NuGet.

You can add your own custom repository: Hosting Your Own NuGet Feeds

Upvotes: 2

Related Questions