diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-08-21 18:55:06 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-08-21 18:55:06 +0000 |
| commit | 9ed2fd5828a69598e0e10d60c253d17956011534 (patch) | |
| tree | 68e7d2e6f4676e4e9c71af9f39262d517ba0afdb /csharp | |
| parent | f557c7e5064cd83772e33c7752f58e6aec291418 (diff) | |
| download | lasso-9ed2fd5828a69598e0e10d60c253d17956011534.tar.gz lasso-9ed2fd5828a69598e0e10d60c253d17956011534.tar.xz lasso-9ed2fd5828a69598e0e10d60c253d17956011534.zip | |
more C# fun. dll is now registered with gacutil. But it needed a StrongName;
this is sort of a cryptographic signature for DLL; not clear about this. The
key is in csharp/lasso-sharp.snk
Diffstat (limited to 'csharp')
| -rw-r--r-- | csharp/AssemblyInfo.cs | 6 | ||||
| -rw-r--r-- | csharp/Makefile.am | 8 | ||||
| -rw-r--r-- | csharp/lasso-sharp.snk | bin | 0 -> 596 bytes |
3 files changed, 11 insertions, 3 deletions
diff --git a/csharp/AssemblyInfo.cs b/csharp/AssemblyInfo.cs new file mode 100644 index 00000000..9216a124 --- /dev/null +++ b/csharp/AssemblyInfo.cs @@ -0,0 +1,6 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +[assembly:AssemblyDelaySign(false)] +[assembly:AssemblyKeyFile("lasso-sharp.snk")] + diff --git a/csharp/Makefile.am b/csharp/Makefile.am index 7cee28d8..7f88b175 100644 --- a/csharp/Makefile.am +++ b/csharp/Makefile.am @@ -22,16 +22,18 @@ liblassosharpglue_wrap.c: $(top_srcdir)/swig/Lasso.i sed -e 's/(char \*) "\(.*\)"/malloc("\1")/' \ < liblassosharpglue_wrap.c.bak > liblassosharpglue_wrap.c - dotnetlibdir = $(datadir)/dotnet/lasso/ dotnetlib_DATA = lasso.dll lasso.dll.config lasso.dll: liblassosharpglue.la - mcs /out:lasso.dll /target:library $(srcdir)/*.cs + $(CSHARPCOMPILER) -out:lasso.dll -target:library $(srcdir)/*.cs pkgconfig_DATA = lasso-sharp.pc pkgconfigdir = $(libdir)/pkgconfig +install-data-local: + $(GACUTIL) -i lasso.dll -f -package lasso -gacdir $(libdir) + clean-local: -rm lasso.dll lasso-sharp.pc liblassosharpglue_wrap.c.bak @@ -47,7 +49,7 @@ SWIG_FILES = liblassosharpglue_wrap.c \ SWIGTYPE_p_LassoProvider.cs SWIGTYPE_p_LassoSamlpRequestAbstract.cs \ SWIGTYPE_p_LassoSamlpResponseAbstract.cs -EXTRA_DIST = lasso-sharp.pc.in lasso.dll.config $(SWIG_FILES) +EXTRA_DIST = lasso-sharp.pc.in lasso.dll.config AssemblyInfo.cs lasso-sharp.snk $(SWIG_FILES) MAINTAINERCLEANFILES = $(SWIG_FILES) diff --git a/csharp/lasso-sharp.snk b/csharp/lasso-sharp.snk Binary files differnew file mode 100644 index 00000000..a8a75b80 --- /dev/null +++ b/csharp/lasso-sharp.snk |
