title: .NET 4.0 GAC - Unable to Add DLL
body: <p>I am using the namespace <code>System.Windows.Forms.DataVisualization.Charting</code> to create a <code>Chart</code> object on a form.  This DLL is not a part of the basic Windows install, so I shall need to include it in my package when I distribute my application.  </p>
  
  <p>I am aware of the <a href="https://stackoverflow.com/questions/2440568/install-net-4-0-dll-to-the-gac">new version of GacUtil.exe</a> and also that <a href="http://msdn.microsoft.com/en-us/library/dkkx7f79.aspx" rel="nofollow noreferrer">Gacutil.exe is only for development purposes and should not be used to install production assemblies into the global assembly cache.</a>  Let's just assume that I have no choice in the matter and have to do it this way due to the use of a proprietary package distribution system. =)</p>
  
  <p><strong>Edit/Update:</strong> In the 2.0 runtime, even though some PC's did not have GacUtil.exe present on the intended installation PC, I could drop GacUtil.exe (2.0 version) on the PC and I could then GAC whatever extra assemblies I needed.  This appears to be a problem in the 4.0 runtime.  Even though I have copied GacUtil.exe (4.0) to the destination PC, I get no feedback when running it against the needed assembly. <strong>End Edit/Update</strong></p>
  
  <p>Now, on my PC (the development PC), I can add the DLL to the GAC without any problems:
  <img src="https://i.stack.imgur.com/NG2ut.jpg" alt="Command Prompt On My PC"></p>
  
  <p>However, on a clean Windows 7 PC, with the same DLL and the same version of GacUtil.exe I get this:
  <img src="https://i.stack.imgur.com/cNI8j.png" alt="Command Prompt On Clean PC"></p>
  
  <p>Why the discrepancy?  Does the new GacUtil.exe depend upon something that this PC doesn't have?</p>