lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Dissel" <mdis...@home.nl>
Subject Re: [jira] Created: (LUCENENET-20) sign the assembly with a strong name
Date Thu, 05 Oct 2006 19:47:19 GMT
Sounds reasonable..

They've solved this by not redistributing the key file, but the compiled 
distributed assembly is signed with a strongly name (with help of some 
compiler variables..)

ps. Look at the source of AjaxPro 
http://codeplex.com/SourceControl/ListDownloadableCommits.aspx?ProjectName=AjaxPro

----- Original Message ----- 
From: "Nathan Haywood" <nathanh@CorMine.com>
To: <lucene-net-dev@incubator.apache.org>
Sent: Thursday, October 05, 2006 9:36 PM
Subject: RE: [jira] Created: (LUCENENET-20) sign the assembly with a strong 
name


Just curious, but is it normal policy to distribute a key file with
source code? Lucene.Net is a library in source code form. When I compile
it for use in my apps, I just use my own key.

What's to keep someone from making changes to the source and then still
signing it as George / Lucene.Net? Or, worse, use the key file to sign
other assemblies/applications?

If Lucene.Net was a DLL to download precompiled, I would understand
wanting it signed. Just wondering what everyone thought...

-----Original Message-----
From: Marco Dissel (JIRA) [mailto:jira@apache.org]
Sent: Thursday, October 05, 2006 3:26 PM
To: lucene-net-dev@incubator.apache.org
Subject: [jira] Created: (LUCENENET-20) sign the assembly with a strong
name

sign the assembly with a strong name
------------------------------------

                 Key: LUCENENET-20
                 URL: http://issues.apache.org/jira/browse/LUCENENET-20
             Project: Lucene.Net
          Issue Type: New Feature
         Environment: N/A
            Reporter: Marco Dissel
            Priority: Trivial


I want to give my assemblies a strong name, but they have a reference to
the Lucene assembly. And you can't give an assembly a strong name if it
has references to assemblies with no strong name

I assume more users have the same problem....

use sn -k <keyfile.snk>

AssemblyInfo.cs:
using System.Reflection;
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("<keyfiled.snk>")]

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira



Mime
View raw message