0

I need to add arbitrary file types to a VisualStudio Web Site project and have them publish with the site.

Converting the project to a Web Application is simply not an option as it is huge.

I need my publish to include (copy) random files such as licenses (.lic) and other files in the future.

My current problem is a .lic library license in the Bin folder. I need this to be copied over when publishing. Any thoughts?

Thanks

Sam Leach
  • 12,746
  • 9
  • 45
  • 73
  • I have thought of putting it as an embedded resource or putting it in the Scripts or Images folder which are both less than ideal. – Sam Leach May 10 '12 at 15:14

1 Answers1

0

Add a bin folder to your web site project, add the license file to it and then use Website -> Copy Website option from the menu and copy the license file. In here you can have full control over what files you deploy to where.

j0aqu1n
  • 1,013
  • 7
  • 14