我正在研究一系列使用Telerik等第三方DLL的解决方案。我们在您的大多数解决方案中都使用dll。但是,当我卸载任何解决方案时,dll将从程序集中删除。这是一种非常不幸的行为。
我想即使把dll放在bin文件夹中也无济于事。因为我可以在同一个web应用程序中使用多个解决方案。在这种情况下,如果我在解决方案上删除,它也是从bin文件夹中删除dll。
解决这个丑陋问题的办法是什么?
我正在研究一系列使用Telerik等第三方DLL的解决方案。我们在您的大多数解决方案中都使用dll。但是,当我卸载任何解决方案时,dll将从程序集中删除。这是一种非常不幸的行为。
我想即使把dll放在bin文件夹中也无济于事。因为我可以在同一个web应用程序中使用多个解决方案。在这种情况下,如果我在解决方案上删除,它也是从bin文件夹中删除dll。
解决这个丑陋问题的办法是什么?
这确实令人痛苦。您可以考虑在使用ilmerge时合并第三方DLL。其他方法可以在Muhimbi的免费SharePoint编码指南(第8章和第9章)
一种选择是不在您的单个解决方案中包含第三方DLL。卸载解决方案时,将删除随解决方案一起安装的任何内容。您可以有一个安装通用DLL的框架解决方案。这样,只有当您删除框架解决方案时,这些常见DLL才会被删除。或者,如果你想对每个共享DLL进行更细粒度的控制,你可以为它们提供一个单独的解决方案安装程序。
另请参阅SharePoint.SE上的问题:当收回单个解决方案时,使用共享dll的多个解决方案可能会造成严重破坏
How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...
I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...
We have a requirement to retrieve document details from a sharepoint document library. We understand that we can use either list web service or search web service. Can any one please let us know which ...
I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...
I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...
I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...
I am accessing the SHDocVw.InternetExplorer from the SHDocVw.ShellWindowsClass(). I can see the page that the browser instance is currently on (the LocationURL property), but what I really need is ...
In SharePoint I can create a list column of type Number . I need to store monetary amounts and would like to be able to use this column type rather than having to create a new one. Are values of ...