简体   繁体   English

引用Sharepoint 2010 bin文件夹

[英]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/ 我已通过以下方式将资源添加到WebApplication的bin文件夹中: http : //girishm.blog.com/2010/10/19/how-to-add-assemblies-into-gac-web-applications-bin-folder-使用WPS创建的使用Visual Studio 2010s-SharePoint项目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? 现在我所需要知道的是:如何从我的sharepoint项目中的代码后面引用bin文件夹中的资源? What is the relative path of the resource on the farm? 场中资源的相对路径是什么? It is not a css/js/image file. 这不是css / js / image文件。 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映射文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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