简体   繁体   中英

Referencing Sharepoint 2010 bin folder

I have added a resource to my WebApplication's bin folder the following way: http://girishm.blog.com/2010/10/19/how-to-add-assemblies-into-gac-web-applications-bin-folder-using-wsps-created-using-visual-studio-2010s-sharepoint-projects-2/

Now all I need to know is: how do I reference the resource in the bin folder from my code-behind in my sharepoint project? What is the relative path of the resource on the farm? It is not a css/js/image file. It is a custom file I need to reference by its path on the server, how do I do this?

Is there any other way to deploy custom resources to a sharepoint farm, which can then later be referenced by its path on the server?

Thanks

右键单击您的项目->添加-> SharePoint映射文件夹

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM