1
Vote

Make the control work with medium trust level

description

Maybe the webpart can be registered as safe, so we don’t have to set the trust level to full?
This would require us to unpack the wsp file. The resulting files are:
 
manifest.xml
Predefined Search.webpart
PredefinedSearch.dll
 
To install the dll to assembly it is required to be strongly named. This can be fixed by the strongname utility, which is part of the .NET System Developer Kit (SDK). If you don’t have that, you can download it from Microsoft. Open a command prompt, go to the file directory containing the files listed above and type:
sn –k PredefinedSearch.snk
This results in a new file named PredefinedSearch.snk. This must be linked into the C# source file and recompiled. I don't have the compiler set up, so maybe someone can help with this?

comments