You shouldn’t have to “include”
it; it’s not a class file nor a resource nor a reference. It’s
referenced by your AssemblyInfo.cs file, like this:
[assembly: AssemblyKeyFile(@"..\..\Astro.Web.BaseClasses.snk")]
The cryptographic whatchamadoozie is
called by CSC which looks for it at build time where the AssemblyInfo.cs points
to.
If CSC’s bitchin’ cuz’
it cain’t find the file *and*
if it works in VS.NET, check the path and make sure that you’re locating
the snk file for NAnt purposes in the same relative location that VS.NET is
finding it.
-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arnaud Wintrebert
Sent: Thursday, December 11, 2003
12:14 PM
To:
[EMAIL PROTECTED]
Subject: [Nant-users] How to
include a snk file in a csc task
All,
I would like to create an assembly using a strong name,
so, how to include a keyfile (*.snk) in a csc task
<target name ...
<csc
target="library" output .....
<sources...
Thanks.
Arnaud
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users |