A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

strong name and Redemption



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 3rd 06, 03:00 PM posted to microsoft.public.outlook.program_addins
Rog
external usenet poster
 
Posts: 62
Default strong name and Redemption

I am trying to sign my C# Outlook Add-in. Is it wise to do ?
Necessary?
When I do this and compile I get an error: Interop.Redemption does not
have a strong name..
Any ideas on how to fix this?
Thanks
Ads
  #2  
Old April 3rd 06, 05:51 PM posted to microsoft.public.outlook.program_addins
Dave Kane [MVP - Outlook]
external usenet poster
 
Posts: 33
Default strong name and Redemption

It's good to assign strong names to your assemblies, but a strong-named
assembly can't reference any assembly with a simple name which is why you
are getting that compile error. You will need to use Assembly Linker
(al.exe) to give your Redemption interop assembly a strong name by signing
it with your keyfile
http://msdn2.microsoft.com/en-us/lib...41(VS.80).aspx

"Rog" wrote in message
...
I am trying to sign my C# Outlook Add-in. Is it wise to do ?
Necessary?
When I do this and compile I get an error: Interop.Redemption does not
have a strong name..
Any ideas on how to fix this?
Thanks



  #3  
Old April 3rd 06, 05:53 PM posted to microsoft.public.outlook.program_addins
Rog
external usenet poster
 
Posts: 62
Default strong name and Redemption

Would you potentially have any issues if you do not use a strong name?
Would it help my .net 1.1 addin to work in .net 2.0?
Rog

Dave Kane [MVP - Outlook] wrote:
It's good to assign strong names to your assemblies, but a strong-named
assembly can't reference any assembly with a simple name which is why you
are getting that compile error. You will need to use Assembly Linker
(al.exe) to give your Redemption interop assembly a strong name by signing
it with your keyfile
http://msdn2.microsoft.com/en-us/lib...41(VS.80).aspx

"Rog" wrote in message
...
I am trying to sign my C# Outlook Add-in. Is it wise to do ?
Necessary?
When I do this and compile I get an error: Interop.Redemption does not
have a strong name..
Any ideas on how to fix this?
Thanks



  #4  
Old April 5th 06, 06:03 PM posted to microsoft.public.outlook.program_addins
Dave Kane [MVP - Outlook]
external usenet poster
 
Posts: 33
Default strong name and Redemption

I can't give you a definitive answer about issues you might run into if your
assembly doesn't have a strong name. Outlook's own security model doesn't
know anything about strong names, so it's not relevant there. But in terms
of .NET Framework security an assembly must have a strong name to be
explicitly granted trust. So in answer to your second question: depending on
how the target environment is configured the lack of a strong name could be
a show stopper.

BTW, if you are going to elevate the potential level of trust for your
Redemption interop assembly then as a good citizen you should make it more
secure by fully customizing it with modified class name and GUIDs
http://www.dimastr.com/redemption/security.htm
And an alternative way to give it a strong name is to generate the interop
assembly using tlbimp.exe which accepts a /keyfile option
http://msdn.microsoft.com/library/de...rTlbimpexe.asp

"Rog" wrote in message
...
Would you potentially have any issues if you do not use a strong name?
Would it help my .net 1.1 addin to work in .net 2.0?
Rog

Dave Kane [MVP - Outlook] wrote:
It's good to assign strong names to your assemblies, but a strong-named
assembly can't reference any assembly with a simple name which is why you
are getting that compile error. You will need to use Assembly Linker
(al.exe) to give your Redemption interop assembly a strong name by
signing it with your keyfile
http://msdn2.microsoft.com/en-us/lib...41(VS.80).aspx

"Rog" wrote in message
...
I am trying to sign my C# Outlook Add-in. Is it wise to do ?
Necessary?
When I do this and compile I get an error: Interop.Redemption does not
have a strong name..
Any ideas on how to fix this?
Thanks



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Redemption fgibbcollins Outlook and VBA 2 March 16th 06 07:03 PM
Redemption Christoph Add-ins for Outlook 5 March 6th 06 04:26 PM
Convert to Redemption ??? John DOE Outlook and VBA 2 February 13th 06 07:22 AM
Crash with Redemption Lars Ibsen Outlook and VBA 4 February 13th 06 06:29 AM
Redemption MAPITable Dmitry Streblechenko Add-ins for Outlook 1 January 12th 06 05:09 AM


All times are GMT +1. The time now is 03:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.