GAC

  • Thread starter Peter Morris [Droopy eyes software]
  • Start date
P

Peter Morris [Droopy eyes software]

I have an installation project for my dotnet V2 CF app. If I specify the
app folder as the target for all of my DLLs then it works fine, but if I
move some of the DLLs to the GAC folder instead my app complains that it
cannot find them when it first runs.

Am I missing something? Does putting the DLLs in the GAC folder tell the
installer to install them into the GAC or does it mean something else?

Any ideas what my problem could be? The GAC DLLs are all strongly signed.

Thanks

Pete
 
I

Ilya Tumanov [MS]

G

Guest

Sounds like they're not really in the GAC - just putting them in the
\Windows folder is not enough. They're strong named and you've done all the
GAC registry entries?

-Chris
 
P

Peter Morris [Droopy eyes software]

I wish the setup program would do this automatically. Copying text files
into folders reeks of bad implementation :)

Thanks for the info though!

Pete
 
I

Ilya Tumanov [MS]

Too bad WCELOAD.EXE (CE CAB installer) is not aware of managed code so it
could not do that not to mention NETCF is optional.

You can use setup DLL to do that "automatically" as NETCF installer does.



I see nothing wrong with copying text files, that's basically what
installers are for - copy files you want to places you need.

Using .GAC file is extremely easy and was added so you don't have to create
setup DLL in native code.

It would also take care of removing files from GAC as your application is
uninstalled.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
P

Peter Morris [Droopy eyes software]

I see nothing wrong with copying text files, that's basically what
installers are for - copy files you want to places you need.

It's not the copying of the text file that I think is "dodgy". It's the
fact that I have to manually maintain its contents. I would have expected
the installer project to maintain a .GAC file for me automatically based on
which folders I specify the DLLs should go into.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top