[Mono-devel-list] Re: Potential GAC implementation ideas.

Peter Williams peter at newton.cx
Thu Oct 23 17:52:22 EDT 2003


On Thu, 2003-10-23 at 17:16, Todd Berman wrote:
> In my opinion (both as a mono developer, and as a mono packager, and I am
> both), I think that if mono was to have a utility that they say you should
> use to place something into the GAC, and I figured out a way around it, and
> got burnt by shifting implementations, who am I to blame but myself?

Hm, doesn't that present a different packaging problem? Say I'm
distributing MyMonoProgram.rpm. Where do I tell RPM that
HelperAssembly.dll goes?

That is, in the current (MONO_PATH) system you'd have a %files list
like:

	/usr/bin/MyMonoProgram.exe
	/usr/share/doc/MyMonoProgram-1.0/README
	/usr/lib/HelperAssembly.dll

But the whole point is not to put assemblies in /usr/lib due to name
conflicts and general cleanliness, right? I think we all agree that
hard-coding the system-specific destination path sucks:

	/usr/lib/monogac/HelperAssembly/magicnumbers24134/HelperAssembly.dll

But we have to tell RPM to put the file *somewhere*. Maybe:

	/usr/lib/MyMonoProgram/HelperAssembly.dll 

And then copy / link it into the GAC? (You can't move it, since then rpm
-V MyMonoProgram will report a problem and in general RPM expects all
the files in its listings to actually exist.)

Peter

-- 
Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power




More information about the Mono-devel-list mailing list