Harambe
Harambe

Reputation: 423

There is no GAC folder on my clients PC

I've created an installer for my vb.net application and given it to a client to install, but it's getting a series of errors. I appear to have fixed most of them, but the one that's really causing an issue is one saying

Unable to install or run the application. The application requires that assembly CrystalDecisions.ReportAppServer.XmlSerialize Version 12.0.1100.0 to be installed in the Global Assembly Cache (GAC) first.

However, there is no GAC folder on the clients PC when looking in Windows\assembly

I've even searched the Local Disk for GAC, and the only folder results are GAC_MSIL, GAC_32 and GAC_64...

Where do I put this file to make the application work? Why is there not a GAC folder in the Windows\Assembly root?

Upvotes: 0

Views: 1177

Answers (1)

rory.ap
rory.ap

Reputation: 35318

The GAC folder for .NET 4.5 (and anything after 4.0) is here:

C:\Windows\Microsoft.NET\assembly

There are three folders beneath that (as you've found):

C:\Windows\Microsoft.NET\assembly\GAC_32
C:\Windows\Microsoft.NET\assembly\GAC_64
C:\Windows\Microsoft.NET\assembly\GAC_MSIL

Where the assemblies should reside depend on which type of CPU(x86 or x64) they target. You shouldn't put assemblies in those folders yourself; they should be installed there by your deployment mechanism.

Upvotes: 1

Related Questions