Dynamically invoke dll in sharepoint

How to call a DLL dynamically created (at runtime) on a sharepoint site? I get an error that I do not have permissions to download. Any help on this would be greatly appreciated.

+3
source share
1 answer

while the dll is created dynamically in the solution, set the copmileroptions property to "generateinmemory = true". After creating the dll in this way, the dynamically created dll can be used in the propoint sharepoint without deploying the dll in the GAC or by adding the dll name to the safecontrollist list in the sharepoint web.config web site.

+2
source

Source: https://habr.com/ru/post/1740471/


All Articles