Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strong naming web parts on remote server

Status
Not open for further replies.

pharmann

Programmer
Dec 21, 2004
1
DK
Hi there
Im developing web parts for sharepoint portal server 2003 in C#. I´ve been doing this setting the output path to \\remote server\ and setting the permission stuff in web.config and it works fine.

Now i want to state one thing be4 i ask my Q:

Of course i do NOT develop directly in the production server, it seems like that it´s normal procedure in all the posts ive been reading so far to have the visual studio installed directly on the SPS server. Did i miss something here ? I thought that was a serious DO NOT.

Anyway i dont!

So i develop on my home development computer. for different reasons its now nessesary for me to sign my web parts to save them with strong names. Now - how do i do that on an remote server?

Do i create my keyfile.snk on my lokal mashine and transfer it to the server?

If so - say i put it on the servers c:\keys\keyfile.snk - what should then be the content of the assemblys´line:
[assembly: AssemblyKeyFile("")] ?

Can anybody help me out here - plz..

Per Hoyer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top