ab_732
ab_732

Reputation: 3897

Visual Studio 2010 and linked resources

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?

Upvotes: 0

Views: 519

Answers (1)

Wesley Kenis
Wesley Kenis

Reputation: 127

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.

Upvotes: 1

Related Questions