[gdal-dev] Strong Naming of C# Wrappers
Tamas Szekeres
szekerest at gmail.com
Thu Jan 31 18:43:24 EST 2008
Added the strong name support in SVN trunk r13646
We are using a fixed keyfile that won't change among the releases.
gdal.snk have also been added to the repository.
The keyfile is referenced by AssemblyInfo.cs that might be deprecated
by the further Visual Studio releases. However this is the only way to
support the strongnames for all of the platforms right now.
Best regards,
Tamas
2008/1/31, Jason Beverage <jasonbeverage at gmail.com>:
> Thanks Tamas. It's so much nicer to just be able to download a working
> binary than having to compile and configure everything yourself.
>
> Thanks!
>
> Jason
>
>
> On Jan 31, 2008 3:03 PM, Tamas Szekeres <szekerest at gmail.com> wrote:
>
> > Jason,
> >
> > Please file a ticket for this issue, I'll take care of this.
> > The /keyfile compiler option is quite VS2005 specific, however I think
> > we have alternative options to achieve the same results which is
> > compiler neutral.
> >
> > Best regards,
> >
> > Tamas
> >
> >
> >
> >
> > 2008/1/31, Jason Beverage <jasonbeverage at gmail.com>:
> >
> >
> >
> > > Hi all,
> > >
> > > I've been using the C# wrappers that come with FWTools, and I noticed
> that
> > > they are not strongly named. This is causing a problem for my project
> as we
> > > require everything to be strongly named.
> > >
> > > I noticed that the makefile.vc has a "sign" step that generates the
> gdal.snk
> > > file, but it is not used after that.
> > >
> > > If you change the gdal_csharp target to include the /keyfile argument,
> it
> > > should produce strongly named assemblies:
> > > $(CSC) /debug:full /keyfile:gdal.snk /target:library /out:ogr_csharp.dll
> > > ogr\*.cs
> > > $(CSC) /debug:full /keyfile:gdal.snk /target:library
> /out:gdal_csharp.dll
> > > gdal\*.cs
> > > $(CSC) /debug:full /keyfile:gdal.snk /target:library
> > > /out:gdalconst_csharp.dll const\*.cs
> > > $(CSC) /debug:full /keyfile:gdal.snk /target:library /out:osr_csharp.dll
> > > osr\*.cs
> > >
> > > It would be great if the bindings that come from the FWTools distro
> become
> > > the "official" way to download the binaries and they are signed when we
> get
> > > them.
> > >
> > > Thanks!
> > >
> > > Jason
> > >
> > > _______________________________________________
> > > gdal-dev mailing list
> > > gdal-dev at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> > >
> >
>
>
More information about the gdal-dev
mailing list