Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@ximian.com>2004-04-06 23:13:42 +0400
committerSebastien Pouliot <sebastien@ximian.com>2004-04-06 23:13:42 +0400
commit58abfd687cecfa4388b3ea4927d8a3a2076da47c (patch)
tree2c466101861d561d702639fb8570ebe60128a16c /mcs/errors/cs1548-3.cs
parent14c59cfad1a213b3858b79497af4bee7e62e0a55 (diff)
2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
* cs1548.pub: New file. Strongname file with only the public key. * cs1548-3.cs: New file to test signing with a strongname containing only the public key. svn path=/trunk/mcs/; revision=25106
Diffstat (limited to 'mcs/errors/cs1548-3.cs')
-rw-r--r--mcs/errors/cs1548-3.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs1548-3.cs b/mcs/errors/cs1548-3.cs
new file mode 100644
index 00000000000..83e1a3d08cb
--- /dev/null
+++ b/mcs/errors/cs1548-3.cs
@@ -0,0 +1,17 @@
+// cs1548: Missing private key in strongname file
+// Line: 6
+
+using System.Reflection;
+
+[assembly: AssemblyKeyFile ("cs1548.pub")]
+
+// where cs1548.pub is generated by:
+// sn -k cs1548.snk
+// sn -p cs1548.snk cs1548.pub
+
+class MyClass {
+
+ public static void Main (string [] args)
+ {
+ }
+}