Question says it all
+4
A:
No. The global assembly cache is a repository for assemblies installed on the given machine, that is, its machine based, not user based.
RandomNoob
2009-02-02 22:41:25
A:
You can always copy assemblies into the local directory that your program runs in.
Fortyrunner
2009-02-02 22:46:37
A:
Not quite the same, but note that ClickOnce installs are generally per-user - more comparable to Program Files
than the GAC, though.
Marc Gravell
2009-02-02 22:47:35
Fair point. If the application were small enough it could be copied int the users profile directory
Fortyrunner
2009-02-02 22:53:35
+1
A:
No, the GAC is global to machine as the name suggests. However, you can simulate one. Just stick the assemblies in a folder structure similar to the GAC's and then write your own assembly resolution code (see AppDomain.AssemblyResolve
). It's not quite the same as the real GAC (around security in particular) but it might suit your purposes.
HTH, Kent
Kent Boogaart
2009-02-02 23:02:29