Bugs item #1587739, was opened at 2006-10-31 09:54
Message generated for change (Comment added) made by schoenha
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1587739&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
>Status: Open
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Volker Schoenharting (schoenha)
Assigned to: Gert Driesen (drieseng)
Summary: signing satellite resource assemblies

Initial Comment:
When the attribute "keyfile" is used for the csc task 
it won't be applied to the call to the "al" command 
line tool for building satellite resource assemblies. 

The attached file contains a patch 
for "CompilerBase.cs" in its current version.  

----------------------------------------------------------------------

>Comment By: Volker Schoenharting (schoenha)
Date: 2006-11-01 13:10

Message:
Logged In: YES 
user_id=211423

I have attached a small project that produces the error.

The following shows the output of nant (see also the
"nant.output.txt" file):

E:\Projects\SignTest>nant
NAnt 0.85 (Build 0.85.2478.0; release; 14.10.2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///E:/Projects/SignTest/SignTest.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build


prepare:

    [mkdir] Creating directory 'E:\Projects\SignTest\build'.

build:

      [csc] Compiling 3 files to
'E:\Projects\SignTest\build\SignTest.dll'.
               [resgen] Read in 1 resources from
"E:\Projects\SignTest\Resources\Resource.resx"
               [resgen] Writing resource file...  Done.
               [resgen] Read in 1 resources from
"E:\Projects\SignTest\Resources\Resources.de.resx"
               [resgen] Writing resource file...  Done.
                   [al] Compiling 1 files to
'E:\Projects\SignTest\build\de\SignTest.resources.dll'.

BUILD SUCCEEDED

Total time: 0.9 seconds.


E:\Projects\SignTest>sn -T build\SignTest.dll

Microsoft (R) .NET Framework Strong Name Utility  Version
2.0.50727.42
Copyright (c) Microsoft Corporation.  All rights reserved.

Public key token is 8bfff3725ef78b4d

E:\Projects\SignTest>sn -T build\de\SignTest.resources.dll

Microsoft (R) .NET Framework Strong Name Utility  Version
2.0.50727.42
Copyright (c) Microsoft Corporation.  All rights reserved.

build\de\SignTest.resources.dll does not represent a
strongly named assembly

E:\Projects\SignTest>

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2006-10-31 17:05

Message:
Logged In: YES 
user_id=707851

I cannot reproduce this here. In the test case I used, the satellite assembly 
gets signed just fine.

Please reopen the bug report if you have a repro you can share.

----------------------------------------------------------------------

Comment By: Volker Schoenharting (schoenha)
Date: 2006-10-31 11:40

Message:
Logged In: YES 
user_id=211423

Using templates one can only supply information such as
version numbers etc.
On general principles it must not be possible to extract the
information necessary to sign an assembly (i.e. the private
key) from another assembly.

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2006-10-31 10:01

Message:
Logged In: YES 
user_id=707851

Correct me if I'm wrong, but we pass the built assembly as template to al. So 
the satellite assembly should automatically 
obtain the complete identity from it.

Do you have a small repro for this ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1587739&group_id=31650

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to