0

I have many javascript libraries shared between many projects. They are located in a shared folder, I point to them adding in my project as Link (Add Existing Item > Add as Link).

The problem is that those files are not copied in my local solution, so when I run the website they are missing.

I made something like this but does not to much sense to me having those files in my bin folder.

Any ideas?

Community
  • 1
  • 1
ab_732
  • 3,639
  • 6
  • 45
  • 61

1 Answers1

1

After adding the linked files, look at their properties. There should be a property 'copy to output directory'. Just set this to 'always' or 'only if newer' and it copies the files.

Wesley Kenis
  • 107
  • 4