Groups | Blog | Home
all groups > dotnet distributed apps > october 2003 >

dotnet distributed apps : Installation of Exception Management Application Block


Bryce Budd
10/24/2003 7:06:24 AM
Hello,

I am trying to figure out how to get the Exception
Management Application Block to Install into the GAC from
a Windows Installer Package.

I have read the following in the documentation:

[quoted text, click to view]

How do I do this??? If I add the project output to the
GAC, I can't add a custom action? If I add a custom
action, How can I install the assembly in the GAC?

I'm not a windows installer expert by any means. I'm
looking for additional direction as to how to add a class
to the GAC and ensure the installer class is run.

Regards,

Bryce Budd
10/24/2003 7:26:07 AM
This is the exception thrown when I try to build a web
setup package with the Exception Management Block output
into the GAC and a custom action defined on the Exception
Management output:

Unable to build custom action named 'Primary output from
Microsoft.ApplicationBlocks.ExceptionManagement
(Release .NET)' because the file's Folder property is set
to Global Assembly Cache.

Thanks for any insight.

Bryce

[quoted text, click to view]
James
10/30/2003 6:27:57 PM
Hi,

To install the assembly you compiled by your own to GAC
((include the exception management block), you have to
sign it by using your public/private key pair, .NET
framework allows only strongly named assembly to be
installed into GAC, so, get your public/private key and
sign your files.
By using Sn.exe came with .NET framework, you can get
private/public key pair, and you can also use this tool to
sign your files.

search sn.exe or "strong name" on MSDN and find out how
to.

[quoted text, click to view]
AddThis Social Bookmark Button