0

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.

2
  • You can copy it over. Commented May 16, 2013 at 15:28
  • Can you create the Virtual Directory of Script folder of another project, inside the website in IIS ? Commented May 16, 2013 at 17:29

2 Answers 2

2

You might want to use NuGet.

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

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.