# GacUtil / SDK not found for action GAC Install

**URL:** https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178
**Category:** Discussion
**Created:** [July 11, 2013, 11:48am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178 "2013-07-11T11:48:33Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 11, 2013, 11:48am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/1 "2013-07-11T11:48:33Z")

</div>

Hi,

&nbsp;I&nbsp; set up a new build machine on Windows 8 x64 and installed VS 2012, Windows 8 SDKs and FB 7.0.0.2346.

.Net Framework 2.0/3.5 is enabled.

Action GAC Install complains about a missing SDK and offers an empty SDK list.

Gacutil.exe (v4) itself is installed in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools,

Gacutil.exe (v3.5) in&nbsp;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin.

What I'm missing here?

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 12, 2013, 2:57am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/2 "2013-07-12T02:57:29Z")

</div>

Hi Martin,   
  
 I have reproduced this issue will track it down. Will let you know when I have a solution for this.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 12, 2013, 5:09am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/3 "2013-07-12T05:09:07Z")

</div>

Hi Martin,   
  
 In the installation directory of FinalBuilder there is a DotNetConfig.xml file. Inside this file you will find the following element “\<Framework version=“v3.5” integer=“35”\>”, under which you will see a number of SDK Install Path elements. If you can add the following as the first SDKInstallPath element   
  
 [code]\<SDKInstallPath\>\<Key\>SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx35Tools\</Key\>\<Value\>InstallationFolder\</Value\>\</SDKInstallPath\>[/code]   
  
 Once that is done give me a heads up as to how things go from there.

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 12, 2013, 3:52am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/4 "2013-07-12T03:52:45Z")

</div>

Thanks, to which element “” should I add this? I assume you mean ?   
 This shows 3.5 now in GAC Install.   
  
 However I need both, 2.0/3.5 and 4.0 gacutil in my project. How do I get 4.0 supported?

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 12, 2013, 3:54am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/5 "2013-07-12T03:54:10Z")

</div>

Should be

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 12, 2013, 3:54am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/6 "2013-07-12T03:54:44Z")

</div>

[code] \<Framework version="v3.5" integer="35"\>[/code]

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 15, 2013, 1:51am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/7 "2013-07-15T01:51:09Z")

</div>

Yes sorry I left that part out. Does this now work for you?

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 15, 2013, 10:53am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/8 "2013-07-15T10:53:23Z")

</div>

Not completely, how do I get 4.0 supported?

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 16, 2013, 1:58am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/9 "2013-07-16T01:58:01Z")

</div>

Hi Martin,&nbsp;  
  
Backup your current DotNetConfig.xml and use the following one. This one correctly looks for the windows 8 sdk directory for 4.0 (and inline replacements).[DotNetConfig.xml](https://www.finalbuilder.com/forums/uploads/default/original/2X/6/6ea4edc110959575d441cfe7a5ff8fa85509303f.xml) (3.007 KB)

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 23, 2013, 5:37am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/10 "2013-07-23T05:37:27Z")

</div>

Sorry for my late response. It does not work. It displayes a v4.0 but still loads the 3.5 Version of GacUtil:   
  
 GAC Install [Assembly Path: M:\Subversion\LightsOut\Assemblies\VailAssemblies\GAC\NLog.dll]   
 Status: Error   
 Date: 23.07.2013   
 Time: 17:35:19:322   
 End: 17:35:19:489   
 Duration: 00:00:00:167   
  
 Action Messages:   
 Executing external process: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil.exe   
 Starting Directory: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\   
 Parameters: /i “M:\Subversion\LightsOut\Assemblies\VailAssemblies\GAC\NLog.dll”   
 Output from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil.exe   
 Microsoft ® .NET Global Assembly Cache Utility. Version 3.5.30729.1   
 Copyright © Microsoft Corporation. All rights reserved.   
  
 Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.   
 Action Failed   
 C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil.exe returned : 1

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [July 26, 2013, 2:20am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/11 "2013-07-26T02:20:15Z")

</div>

Hi Martin,&nbsp;

Try this updated file. wow6432Node section in the registry has been added. We are also adding support for 4.5.1.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 26, 2013, 9:58am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/12 "2013-07-26T09:58:14Z")

</div>

Hi Martin   
  
 This issue should be fixed in the update we just posted on the website. Jason & I finally figured out what the cause was today, I’m surprised that we haven’t seen this issue before.

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 29, 2013, 10:54am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/13 "2013-07-29T10:54:14Z")

</div>

Thanks, will give it a try.

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 29, 2013, 11:12am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/14 "2013-07-29T11:12:00Z")

</div>

Sorry, still does not work as expected. This time v4.0 is working but not 3.5.   
 [code] The .NET SDK version you are trying to use (v3.5) is not installed. Change the version in the action properties or the default in the FinalBuilder Options.[/code]   
 I have a project which creates a .Net 2.0/3.5 package and a 4.0 package. So I need to run GacUtil with both SDKs.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 29, 2013, 12:36pm UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/15 "2013-07-29T12:36:32Z")

</div>

Can you show export the HKEY\_LOCAL\_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows registry key to a text file and send it to support at finalbuilder so we can see why 3.5 is not working?

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 29, 2013, 1:49am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/16 "2013-07-29T01:49:24Z")

</div>

Done.

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [July 30, 2013, 7:45am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/17 "2013-07-30T07:45:44Z")

</div>

Thanks, build 2382 is working on Windows XP (32 Bit) and Windows 8 (64 Bit).

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [August 6, 2013, 7:47am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/18 "2013-08-06T07:47:30Z")

</div>

Installed build 2411 today and now .Net 4.0 IS NO LONGER DETECTED!!   
 I’m back to build 2382.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [August 6, 2013, 10:26am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/19 "2013-08-06T10:26:34Z")

</div>

We’re working on this. Getting it to work reliably on every machine with every sdk version is proving difficult… microsoft keep changing how things are installed, and the behavior on windows 8 is different to 7 for some of the older versions.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 7, 2013, 5:37am UTC](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178/20 "2013-08-07T05:37:23Z")

</div>

> Posted By [Vincent Parrett](https://www.finalbuilder.com/User-Profile/userid/5.aspx) on 06 Aug 2013 03:26 AM  
> We're working on this. Getting it to work reliably on every machine with every sdk version is proving difficult.. microsoft keep changing how things are installed, and the behavior on windows 8 is different to 7 for some of the older versions.

  
  

I totally understand the pain point here. MS APIs and software installations and various behaviours in x86/x64 on different platforms&nbsp;is driving me slowly to the loony bin. Please be careful when using the WOW6432 node in the registry Microsoft reserve the right to change it's use. See [http://msdn.microsoft.com/en-us/lib...s.85).aspx](http://msdn.microsoft.com/en-us/library/windows/desktop/ms724072(v=vs.85).aspx). Had to add .net 4 code to work the the correct registry hive as well as Windows API's for .net framework code prior to 4.0. PITA. See [http://stackoverflow.com/questions/...-using-net](http://stackoverflow.com/questions/1470770/accessing-registry-using-net)&nbsp;for an overview in the .net world.

[Next page](https://www.finalbuilder.com/forums/t/gacutil-sdk-not-found-for-action-gac-install/2178.md?page=2)
