i’ve made a Class Library project for Asp.Net applications, consisting in some classes plus some support js, css, and image files that need to be deployed in the hosting web application.
The problem is that the support files are copied in the bin\ directory of application, so they becomes unavailable on the iis (HTTP 403 errors), infact the bin folder is only for dll files.
Any idea on how to publish these support files to make them available to main app?
Thanks.
You need to embed your resources into your class library. Your js, css and image files will then be contained within your dll and accessible to your other projects.
Here is a walkthrough.